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

add handling for common command-line utility functionality #3

Open
devoncarew opened this issue Feb 9, 2015 · 5 comments
Open

add handling for common command-line utility functionality #3

devoncarew opened this issue Feb 9, 2015 · 5 comments
Labels
type-enhancement A request for a change that isn't a bug

Comments

@devoncarew
Copy link
Member

Like:

  • responding to --version
  • responding to --help
  • printing usage text (decorating the args usage text slightly)
  • creating an ArgsParser object

Probably architected as an abstract template class?

@pq

@sethladd
Copy link

sethladd commented Feb 9, 2015

and usage integration

@pq pq added the type-enhancement A request for a change that isn't a bug label Feb 10, 2015
@pq
Copy link
Member

pq commented Feb 10, 2015

@sethladd can you elaborate on what usage integration would look like?

@sethladd
Copy link

Depends on if cli_util is like a shell for command-line apps. Usage would like to know what command-line flags are used, so if cli_util is handling command-line flags, we should ensure the two work together.

@seaneagan
Copy link

Is the requested functionality any different than what's already available in both of the following?

AFAICT it's not yet possible to auto-add --version:

seaneagan/unscripted#21

@sethladd
Copy link

Good question @seaneagan . Also, I'm not sure what the vision is for this package, or where this package would end and a stagehand template for a command-line app would start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants