🪄 Apparition 🌀
Apparate through your file system.
🪄 Installation
Install the Python package with pipx or pip.
pipx install apparition
# or
pip install --user apparition
Call the install command and add the output to your ~/.bashrc / ~/.zshrc.
This creates a shell function called apparate that can change the working directory in a safe manner.
apparition install >> ~/.bashrc
source ~/.bashrc
# or
apparition install >> ~/.zshrc
source ~/.zshrc
You can get more information about this step with apparition install --help.
$ apparition install --help
Usage: apparition install [OPTIONS]
🪄 Add the output of this command to your '~/.zshrc'.
You can do this by running 'apparition install >> ~/.zshrc'. Then run 'source
~/.zshrc'.
This creates a shell function called 'apparate' that can change the working
directory in a safe manner.
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
Usage
✨ Add or update a destination
Use apparition set to add a new destination or update an existing one.
$ apparition set --help
Usage: apparition set [OPTIONS] DESTINATION PATH
✨ Set a new destination.
This command can also be used to update an existing destination.
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ * destination TEXT The name of the destination. [default: None] │
│ [required] │
│ * path PATH The path to the destination. [default: None] │
│ [required] │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
🌀 Apparate to a destination
Use apparate to change the working directory.
$ apparate --help
Usage: apparate [OPTIONS] DESTINATION
🌀 Apparate to the given destination.
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ * destination TEXT The name of the destination. [default: None] │
│ [required] │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
✍️ Rename a destination
Use apparition rename to rename an existing destination.
$ apparition rename --help
Usage: apparition rename [OPTIONS] OLD_NAME NEW_NAME
✍️ Rename a destination.
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ * old_name TEXT Old name of the destination. [default: None] │
│ [required] │
│ * new_name TEXT New name of the destination. [default: None] │
│ [required] │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
✔️ Check all destinations
Use apparition check to check that the path to each destination is a directory..
$ apparition check --help
Usage: apparition check [OPTIONS]
✔️ Check that the path to each destination is a directory.
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
🗑️ Remove a destination
Use apparition remove to remove a destination.
$ apparition remove --help
Usage: apparition remove [OPTIONS] DESTINATION
🗑️ Remove a destination.
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ * destination TEXT Name of the destination to remove. │
│ [default: None] │
│ [required] │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
🔥 Purge all destinations
Use apparition purge to delete all destinations.
$ apparition purge --help
Usage: apparition purge [OPTIONS]
🔥 Remove all destinations.
The command asks for confirmation if you are sure.
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
License
This app is licensed under the MIT license.
Metadata
Release files for apparition 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apparition-0.1.0.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apparition-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.2 kB
Release files / apparition-0.1.0.tar.gz
| Download URL | apparition-0.1.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
999f337456797bdfff27828dc4d03bc637234564538462af511b0029ca523600
|
|
BLAKE2b-256 checksum How to use checksums |
b275e306ee1040a8844e963a39551142b1c91d17abe6a190815f497b32818fae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.6 Linux/6.1.11-76060111-generic
|
Release files / apparition-0.1.0-py3-none-any.whl
| Download URL | apparition-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b68d0dfaa910e246c9fd755f66cef34c78157878f81d099ec61f139751f362f8
|
|
BLAKE2b-256 checksum How to use checksums |
2bd8fef2e9ac005cb39c73c230b52b6523f251b8c9c7543295e703bb117de00d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.6 Linux/6.1.11-76060111-generic
|