Appearance
daft shortcuts
Manage command shortcut symlinks
Description
Manage shortcut symlinks for daft commands.
Shortcuts provide short aliases for frequently used commands:
- Git style: gwtclone, gwtco, gwtcb, gwtprune, gwtcarry, gwtfetch, gwtinit, gwtbd
- Shell style: gwco, gwcob
- Legacy style: gclone, gcw, gcbw, gprune
Default-branch shortcuts (gwtcm, gwtcbm, gwcobd, gcbdw) are available via shell integration only (daft shell-init).
Examples: daft setup shortcuts # Show current status daft setup shortcuts list # List all shortcut styles daft setup shortcuts enable git # Enable git-style shortcuts daft setup shortcuts disable legacy # Disable legacy shortcuts daft setup shortcuts only shell # Enable only shell shortcuts
Usage
daft shortcutsSubcommands
list
List all shortcut styles and their aliases
daft shortcuts liststatus
Show currently installed shortcuts (default)
daft shortcuts statusenable
Enable a shortcut style (creates symlinks)
daft shortcuts enable [OPTIONS] <STYLE>Arguments
| Argument | Description | Required |
|---|---|---|
<STYLE> | The style to enable (git, shell, or legacy) | Yes |
Options
| Option | Description | Default |
|---|---|---|
--install-dir <INSTALL_DIR> | Override installation directory | |
--dry-run | Preview without making changes |
disable
Disable a shortcut style (removes symlinks)
daft shortcuts disable [OPTIONS] <STYLE>Arguments
| Argument | Description | Required |
|---|---|---|
<STYLE> | The style to disable (git, shell, or legacy) | Yes |
Options
| Option | Description | Default |
|---|---|---|
--install-dir <INSTALL_DIR> | Override installation directory | |
--dry-run | Preview without making changes |
only
Enable only the specified style (disables others)
daft shortcuts only [OPTIONS] <STYLE>Arguments
| Argument | Description | Required |
|---|---|---|
<STYLE> | The style to enable exclusively (git, shell, or legacy) | Yes |
Options
| Option | Description | Default |
|---|---|---|
--install-dir <INSTALL_DIR> | Override installation directory | |
--dry-run | Preview without making changes |
Global Options
| Option | Description |
|---|---|
-h, --help | Print help information |
-V, --version | Print version information |