Skip to content

Opinion: Arguments should be used in a limited way #2822

@Rowlando13

Description

@Rowlando13

From the docs:

  • Parameters:
    arguments are recommended to use for subcommands, urls, or files.
  • Help pages:
    click.argument() does not take a help parameter. This is to follow the general convention of Unix tools of using arguments for only the most necessary things, and to document them in the command help text by referring to them by name.

Reasoning:
Unclear to me.

Features unlocked:

  • help text for support for arguments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions