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 #804

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

add handling for common command-line utility functionality #804

devoncarew opened this issue Feb 9, 2015 · 5 comments
Labels
package:cli_util 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
Contributor

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
Contributor

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
Contributor

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.

@mosuem mosuem transferred this issue from dart-archive/cli_util Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:cli_util type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants