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