Alias Command
You can save a command as an alias and run it instead of repeating the command all over again. This saves time on repetitive commands.
To create an alias, follow the below command:
alias create --name <alias_name> --command "<full_command>"
To create an alias command
Copiedzmail:>alias create --name mail --command "account list"Command to run a saved alias name
Copied<your alias name>
Here:
mailNote:
If the command has double quotes, you must escape them with a backslash (\) when creating the alias.
Output
Copiedzmail:>mail
+---------------------+--------------+--------------------------+
| Account Id | Display Name | Email Address |
+---------------------+--------------+--------------------------+
| 8****************2 | johnm | johnm@zylkertraining.com |
+---------------------+--------------+--------------------------+
By running the alias name, the desired lists are displayed.