FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Allow runpy invocation of CLI tool (python -m gitlab) · Issue #713 · python-gitlab/python-gitlab · GitHub

Repository navigation

Allow runpy invocation of CLI tool (python -m gitlab) #713

Description

Description of the problem, including code/CLI snippet

I would like to be able to invoke the CLI without any console_script wrappers by using Python's built-in runpy module, i.e.:

python -m gitlab --help

Expected Behavior

Invoke the CLI.

Actual Behavior

Error is emitted:

No module named gitlab.__main__; 'gitlab' is a package and cannot be directly executed

Specifications

  • python-gitlab version: 1.8.0
  • API version you are using (v3/v4): n/a
  • Gitlab server version (or gitlab.com): n/a

Activity

  1. locked as resolved and limited conversation to collaborators on Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL