Skip to content

OptionParser: mode for setting up distinct "commands" within a program #31

Description

@andrewdavidsmith

I noticed that @egor-dolzhenko implemented this in radmeth and others have done similar things. It's already relatively easy using our OptionParser class, but the facilities for printing help and usage messages are just not there when it comes to the "modes". So this issue involves designing the facilities to print usages messages that indicate what the commands are, and what they do. If a user specifies one of those properly (i.e. as the first argument after the program name), then subsequent requests for help/usage should be "command-specific."

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions