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

Provide proper output when cli tool is run with no arguments. #83

Open
karcaw opened this issue Dec 18, 2020 · 0 comments
Open

Provide proper output when cli tool is run with no arguments. #83

karcaw opened this issue Dec 18, 2020 · 0 comments

Comments

@karcaw
Copy link

karcaw commented Dec 18, 2020

Pacifica CLI Tool version

0.5.2

Pacifica Core Software versions

pacifica-namespace 0.0.2
pacifica-uploader 0.3.1
pacifica-downloader 0.4.1

Platform Details

Centos 7

Scenario:

Run the pacifica-cli command with no arguments

Steps to Reproduce:

pacifica-cli

Expected Result:

Some sort of help output.

Actual Result:

Error Message!

Traceback (most recent call last):
  File "/.../bin/pacifica-cli", line 33, in <module>
    sys.exit(load_entry_point('pacifica-cli==0.5.2', 'console_scripts', 'pacifica-cli')())
  File "/.../lib/python3.6/site-packages/pacifica/cli/__main__.py", line 159, in main
    return args.func(args, config_data)
AttributeError: 'Namespace' object has no attribute 'func'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant