> For the complete documentation index, see [llms.txt](https://skypesky.gitbook.io/to-where-cli/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://skypesky.gitbook.io/to-where-cli/basic-usage/basic-command.md).

# Basic Command

### Overview

The "tw" CLI is a command-line interface that allows you to add, remove, list, and clean your address aliases.

### Usage

To use the "tw" CLI, run the following command:

```bash
tw [options] [command] [alias]
```

### Options

The following options are available:

* `-V, --version`: Output the version number of the "tw" CLI.
* `-h, --help`: Display help for the "tw" CLI.

### Commands

The following commands are available:

* `add [options] [alias] [address]`: Add an alias to your address.
* `rm [alias]`: Remove an alias from your address.
* `ls|list`: List existing aliases and addresses.
* `clean [options]`: Clear existing aliases.

### Command: add

The `tw add` command allows you to add an alias to your address.

```bash
tw add [options] [alias] [address]
```

* `alias`: Give your address an alias.
* `address`: Your address.
* `-f, --force`: Overwrite existing alias (default: false).
* `-h, --help`: Display help for the `tw add` command.

### Command: rm

The `tw rm` command allows you to remove an alias from your address.

```bash
tw rm #Provide a list of aliases that the user can selectively remove from the list
tw rm home #Delete the alias with the name home
```

* `alias`: Enter the point to be deleted.
* `-h, --help`: Display help for the `tw rm` command.

### Command: ls

The `tw ls|list` command allows you to list existing aliases and addresses.

```bash
tw ls|list [options]
```

* `-h, --help`: Display help for the `tw ls|list` command.

### Command: clean

The `tw clean` command allows you to clear existing aliases.

```bash
tw clean
```

* `-f, --force`: Force empty (default: false).
* `-h, --help`: Display help for the `tw clean` command.
