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

No "command" support? #3

Open
sjpb opened this issue Sep 18, 2018 · 3 comments
Open

No "command" support? #3

sjpb opened this issue Sep 18, 2018 · 3 comments

Comments

@sjpb
Copy link

sjpb commented Sep 18, 2018

argopt doesn't appear to support docopt's "command" format:

Usage: script.py run <arg>

results in

File "<...>\site-packages\argopt\_docopt.py", line 119, in __
repr__
    self.value, self.type)
AttributeError: 'Command' object has no attribute 'type'
@sjpb
Copy link
Author

sjpb commented Sep 18, 2018

PS argopt is an awesome idea, thanks for developing it. I'm trying to use it in anger so I have uncovered a few issues, let me know how interested you are in having them.

@casperdcl
Copy link
Owner

thanks @sjpb - there are a few things mentioned in the docs TODO. Happy to accept issues and pull requests.

@casperdcl
Copy link
Owner

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

2 participants