# Documentation for `scw alias`


:::note{title="The CLI documentation pages are currently under construction"}
The content is up to date. We're making improvements to the site over the next few weeks for a better experience.
:::

<!-- DO NOT EDIT: this file is automatically generated using scw-doc-gen -->
This namespace allows you to manage your aliases
Aliases are store in cli config file, Default path for this configuration file is based on the following priority order:

- $SCW_CLI_CONFIG_PATH
- $XDG_CONFIG_HOME/scw/cli.yaml
- $HOME/.config/scw/cli.yaml
- $USERPROFILE/.config/scw/cli.yaml

You can use multiple aliases in one command
aliases in your commands are evaluated and you get completion
  with: isl = instance server list
    "scw isl <TAB>" will complete as "scw instance server list <TAB>"
    "scw <TAB>" will complete "isl"


- [Create a new alias for a command](#create-a-new-alias-for-a-command)
- [Delete an alias](#delete-an-alias)
- [List aliases and their commands](#list-aliases-and-their-commands)


## Create a new alias for a command

This command help you create aliases and save it to your config

This command help you create aliases and save it to your config

**Usage:**

```shell
scw alias create <alias ...> [arg=value ...]
```


**Args:**

| Name |   | Description |
|------|---|-------------|
| alias | Required | Alias name |
| command |  | Command to create an alias for |


**Examples:**


Create a custom alias 'isl' for 'instance server list'
```shell
scw alias create isl command="instance server list""
```

Add an alias to a verb
```shell
scw alias create c command=create
```




## Delete an alias





**Usage:**

```shell
scw alias delete <alias ...> [arg=value ...]
```


**Args:**

| Name |   | Description |
|------|---|-------------|
| alias |  | alias name |



## List aliases and their commands





**Usage:**

```shell
scw alias list [arg=value ...]
```


**Args:**

| Name |   | Description |
|------|---|-------------|
| order-by | Default: `command_asc`<br />One of: `command_asc`, `command_desc`, `alias_asc`, `alias_desc` |  |
| command |  | filter command |
| alias |  | filter alias |



