Skip to content

Question: Default positional arguments? #13

@IanVS

Description

@IanVS

Is it possible to specify a default for positional arguments? For example, my tool expects files or directories as positional arguments, but if none are provided it will execute with cwd as the directory. I can't determine from reading the docs whether this is possible, but it doesn't seem like it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions