Skip to content

export showHelp/showVersion function in ctx #146

@ryoppippi

Description

@ryoppippi

Clear and concise description of the problem

Sometimes I'd like to show help with not implemented subcommand.

Suggested solution

like cleye, export showHelp / showVersion function from command context

https://github.com/privatenumber/cleye#clioptions-callback-argvs

https://github.com/unjs/citty#renderusage

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guide.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIncludes new features🍰 p2-nice-to-havePriority 2: nothing is broken but it's worth addressing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions