Apparate through your file system.
Project description
๐ช 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file apparition-0.1.0.tar.gz
.
File metadata
- Download URL: apparition-0.1.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/6.1.11-76060111-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 999f337456797bdfff27828dc4d03bc637234564538462af511b0029ca523600 |
|
MD5 | 9e82e5870b9741c380aa879387df9f61 |
|
BLAKE2b-256 | b275e306ee1040a8844e963a39551142b1c91d17abe6a190815f497b32818fae |
File details
Details for the file apparition-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: apparition-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/6.1.11-76060111-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b68d0dfaa910e246c9fd755f66cef34c78157878f81d099ec61f139751f362f8 |
|
MD5 | f781061a789b32e93e6abddab474f02a |
|
BLAKE2b-256 | 2bd8fef2e9ac005cb39c73c230b52b6523f251b8c9c7543295e703bb117de00d |