Skip to content

Accept parameters for aliases #139

@jeandat

Description

@jeandat

I think it could be useful to allow parameters for aliases.

Maybe something like that. In this example, myAlias receive two parameters from command line named user and pwd whose value is respectively aUser and aPwd. They are used by task1.

aliases.yaml

myAlias:
  - task1:aTarget:$user:$pwd
  - task2

command line

grunt myAlias:aUser:aPwd

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