Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jaguar CLI error when running without arguments #237

Open
farzaneka opened this issue Jan 16, 2019 · 0 comments
Open

jaguar CLI error when running without arguments #237

farzaneka opened this issue Jan 16, 2019 · 0 comments
Labels
bug something isn't working

Comments

@farzaneka
Copy link
Contributor

 jaguar
usage: jaguar [-h] [-p PREFIX] [-c FILE]
              {db,serve,migrate,worker,dev,autocompletion,entity-relationship-diagram,jwt,email,websocket,router,member,target,token}
              ...

jaguar command line interface.

optional arguments:
  -h, --help            show this help message and exit
  -p PREFIX, --process-name PREFIX
                        A string indicates the logger prefix for this process,
                        it helps to configure separate log files per process.
  -c FILE, --config-file FILE
                        Configuration file, Default: none

sub commands:
  {db,serve,migrate,worker,dev,autocompletion,entity-relationship-diagram,jwt,email,websocket,router,member,target,token}
    db                  Database administrationn
    serve               Serves the application on http.
    migrate             Executes the alembic command
    worker              Task queue administration
    dev                 Development commands
    autocompletion      Bash autocompletion management
    entity-relationship-diagram
                        Generate erd from database. Make sure database and
                        tables exists.
    jwt                 JWT management
    email               Manage emails
    websocket           Websocket related.
    router              Message router.
    member              Manage members
    target              Manage targets
    token               Token related.
Traceback (most recent call last):
  File "/home/farzaneh/.virtualenvs/jaguar/bin/jaguar", line 11, in <module>
    load_entry_point('jaguar', 'console_scripts', 'jaguar')()
  File "/home/farzaneh/.virtualenvs/jaguar/lib/python3.6/site-packages/restfulpy/cli/launchers.py", line 20, in __call__
    return self.launch()
  File "/home/farzaneh/.virtualenvs/jaguar/lib/python3.6/site-packages/restfulpy/application/cli/main.py", line 71, in launch
    sys.exit(exitcode or 0)
UnboundLocalError: local variable 'exitcode' referenced before assignment
@farzaneka farzaneka added the bug something isn't working label Jan 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant