Skip to content

Suggestion: Default values for args. #364

Description

@easlice

It would be nice if there was a way to specify default values for an argument. Then, when you go to fill in the arguments, the default value can already be added to the prompt and you can just hit enter.

Perhaps a token like = or :, when in the middle of an arg definition?

So a command like this:
head -n #num=5! #file
Would already have 5 in the prompt when asking for #num.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions