#alias #cd #cli #cli-tool

app dira

A CLI tool for aliasing directories for faster directory switching

3 releases (breaking)

0.3.0 Aug 17, 2022
0.2.0 Aug 5, 2022
0.1.0 Aug 4, 2022

#43 in #cd

MIT license

6KB
71 lines

Directory Alias

A CLI tool for aliasing directories for faster directory switching

Config

The config file for Dira is located at $HOME/.config/dira/config.json

Usage


pwd # OUTPUT: /Users/cameron/dev/my-cool-project

dira --alias mcp

dira mcp # OUTPUT: cd "/Users/cameron/dev/my-cool-project"

dira my-cool-project # OUTPUT: Alias does not exist.

dira --list

## OUTPUT:
## {
##    "mcp": "/Users/cameron/dev/my-cool-project"
## }

...

Dependencies

~3–11MB
~119K SLoC