Skip to content

Automatically forward CLI args #2685

@cecheta

Description

@cecheta

Description

I have found myself adding {{.CLI_ARGS}} to the end of all my simple commands, which adds a lot of duplication. Would it be possible to add config that would enable all simple commands to receive any CLI args (if present) automatically added to the end of the command? For simple commands, I mean:

tasks:
  someTask: echo task

  anotherTask:
    cmd: echo another task

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