Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.

Unable to overwrite the primary command. #17

Closed
dangle opened this issue Jan 5, 2017 · 0 comments
Closed

Unable to overwrite the primary command. #17

dangle opened this issue Jan 5, 2017 · 0 comments
Labels
Milestone

Comments

@dangle
Copy link
Collaborator

dangle commented Jan 5, 2017

Users should be able to add functionality to the primary command when no subcommand is specified. e.g.

def hello():
    """usage: hello"""
    print('Hello!')

If no subcommands are detected, the help message should not mention anything about subcommands, or allow the usage of subcommands; otherwise, subcommands should work as expected.

@dangle dangle added this to the 0.1.1 Release milestone Jan 5, 2017
@dangle dangle added bug and removed enhancement labels Jan 8, 2017
@dangle dangle changed the title Add support for primary command functions. Unable to overwrite the primary command. Jan 8, 2017
@zancas zancas closed this as completed in #20 Jan 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant