Skip to content

m github latest_release

Retrieve the latest release.

example::

$ m github latest_release --owner microsoft --repo typescript
Source code in m/cli/commands/github/latest_release.py
class Arguments(BaseModel):
    """Retrieve the latest release.

    example::

        $ m github latest_release --owner microsoft --repo typescript
    """

    owner: str = Arg(
        default=env('GITHUB_REPOSITORY_OWNER'),
        help='repo owner',
    )
    repo: str = Arg(
        help='repo name',
        required=True,
    )

Required arguments

--repo

repo name

Options

--owner

  • default: 'jmlopez-rod'

repo owner