Skip to content

Refactor taocp commands and sub-commands #4

Description

@wallberg

a) save a copy of the *flags.Command generated by AddCommand(); removes the need to run parser.Find()

b) rename fooBarCommandType to fooBarCommandDataType

c) stop saving the fooBarCommandDataType to a variable; it is unused

See the forthcoming 'cu' command and sub-commands as examples.

Copied from wallberg/sandbox#4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions