Skip to content

[Feature]: add -h short hand #2217

@JosiahParry

Description

@JosiahParry

Category

Dev Tools

Scope

Major Feature

Problem

It is common in cli tools to have a -h flag as a shorthand for --help. it would be great if the shiny cli supportd this.

shiny-py-example ⚡ shiny run -h
Error: Option '-h' requires an argument.
shiny-py-example ⚡ shiny run --help
Usage: shiny run [OPTIONS] [APP]

  Run a Shiny app (press Ctrl+C to stop).

Solution

Add a shorthand -h

Alternatives (Optional)

No response

Example (Optional)

Impact (Optional)

No response

Contribution? (Optional)

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions