Skip to main content

A CLI tool to manage favorite directories and files

Project description

FavMan

A simple CLI tool to manage your favorite directories and files.

Installation

pip install favman

Or from source:

pip install -e .

Commands

  • addfav <alias> [path]: Add a favorite directory (defaults to current dir).
  • rmfav <alias>: Remove a favorite directory.
  • listfav: List all favorite directories and files.
  • goto <alias>: Print the path of a favorite directory.
  • addfavf <alias> <path>: Add a favorite file.
  • rmfavf <alias>: Remove a favorite file.
  • execute <alias> [--interpreter python]: Run a favorite file.

Shell Integration (for goto to work)

Add this to your .bashrc or .zshrc:

goto() {
    target=$(command goto "$1" 2>/dev/null)
    if [ $? -eq 0 ] && [ -d "$target" ]; then
        cd "$target"
    else
        command goto "$@"
    fi
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

favman-0.1.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

favman-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file favman-0.1.1.tar.gz.

File metadata

  • Download URL: favman-0.1.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for favman-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9fc2ce12a037c284e281ce644e19e3419128b0f9467c4c04ed5882a3edb51156
MD5 c686fd7573942e623af782f4c4b50411
BLAKE2b-256 18aaddcbd180a17243434b67db098df8e34dc8f697cab909a1f7598ae5b3841a

See more details on using hashes here.

Provenance

The following attestation bundles were made for favman-0.1.1.tar.gz:

Publisher: pypi-public.yml on TerAlone6300/FavMan

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file favman-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: favman-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for favman-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff6b884ad96438a870cc05d69359a56a198fac903c1ca94d40f93ae4e3b02537
MD5 fea881c278cf0a09af8acc82d95a14a9
BLAKE2b-256 4f361b2f93e69c177aabae55c60ea4506ff2edf542a2c92031a0f6d36f6d8b52

See more details on using hashes here.

Provenance

The following attestation bundles were made for favman-0.1.1-py3-none-any.whl:

Publisher: pypi-public.yml on TerAlone6300/FavMan

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page