Skip to main content

No project description provided

Project description

My Alias

Alias management help tool for terminal.

Install

  pip install myalias

Update

  pip install myalias --upgrade

Setup

  myalias setup

  # if the path is not defined add the following line to the configuration file
  export PATH="$HOME/.local/bin:$PATH"

Help

  myalias --help

  #return: 

  Usage: myalias [OPTIONS] COMMAND [ARGS]...                                          
                                                                                      
  ╭─ Options ─────────────────────────────────────────────────────────────────────────╮
   --version  -v        Show the version and exit.                                      --help               Show this message and exit.                                    ╰───────────────────────────────────────────────────────────────────────────────────╯
  ╭─ Commands ────────────────────────────────────────────────────────────────────────╮
   add-alias       Add alias to the application. Args:     name (str): Name of                          command.     description (str): Description of command.                              command (str): Command to execute.                                   import-aliases  Import list aliases to the application. Args:     file_path                          (str): Path to aliases list file.                                    list-alias      List alias to the application.                                       remove-alias    Remove alias to the application. Args:     name (str): Name of                       command.                                                            ╰───────────────────────────────────────────────────────────────────────────────────╯
  ╭─ Help and Others ─────────────────────────────────────────────────────────────────╮
   about      Display information about the application.                                setup      Setup initial to configure application.                                  ╰───────────────────────────────────────────────────────────────────────────────────╯

Add

  myalias add-alias "ll" "description" "ls -la"

  #return:
  Alias created successfully

Import

  myalias import-aliases ./echoAliases

  #return:
  Adding alias ec
  Alias created successfully

Remove

  myalias remove-alias "ll" "description" "ls -la"

  # return:
  Alias removed successfully

List

  myalias list-alias

  # return:
  ┏━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━┓
   Name  Description  Command   ┡━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━┩
   ll    description  ls -la    └──────┴─────────────┴─────────┘

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

myalias-0.2.2.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

myalias-0.2.2-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file myalias-0.2.2.tar.gz.

File metadata

  • Download URL: myalias-0.2.2.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.13 Linux/6.5.0-1015-azure

File hashes

Hashes for myalias-0.2.2.tar.gz
Algorithm Hash digest
SHA256 cc4253e15dd9a4e63b22fbc110a236018d3b3a1693d57cec704b7f0126757e0d
MD5 a6a6f958a799bf1e4bdcbb388f72f7e3
BLAKE2b-256 ef48de57e315c09fe1045eb6a713acf4a23a8ff243cedfd101ef36f0ef398fef

See more details on using hashes here.

File details

Details for the file myalias-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: myalias-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 26.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.13 Linux/6.5.0-1015-azure

File hashes

Hashes for myalias-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 05e55e947bbf76ced8deb5c0e15bcd26d253a5285ff55d903c6cb263370ade77
MD5 82a2cd85b74f8481759947d3f4355851
BLAKE2b-256 6e8505e050af4c6081fccf8bdd6e7492af0d832298afe6870b93a65b9969f48f

See more details on using hashes here.

Supported by

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