Skip to main content

No project description provided

Project description

My Alias

Alias management help tool for terminal.

Install

  pip install myalias

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 command.                                │
  │ list-alias                      List alias command.                               │
  │ remove-alias                    Remove alias 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

Remove

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

  # return:
  Alias removed successfully

List

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

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

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.1.1.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

myalias-0.1.1-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: myalias-0.1.1.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1040-azure

File hashes

Hashes for myalias-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c907e4d5765fab7b2bc25363bb0fdb0e0d4cb364f3a8a19825fd023812962db1
MD5 60eb458a15d1289c79595caf31cddb1a
BLAKE2b-256 e3a9015efb577c8bfa1dff4668a1e5cb6823b2e7698bcfe44257cc7b3dfbbd34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: myalias-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1040-azure

File hashes

Hashes for myalias-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2af6d30b62ad152e231ca9f534c4d239e098f4a31b8d6b477b1dd494f47d5ebf
MD5 1f5376867a47900d114d53d8596458ea
BLAKE2b-256 eeb59a5711d555248a592529af212d2b768861c4ad08d337c783014f1feed891

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