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 list-alias

  # 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.2.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: myalias-0.1.2.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-1041-azure

File hashes

Hashes for myalias-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7c7b0060a4cb8554472ad69c0a2aeb69546be9b8b6f5e88197976da56bc24460
MD5 0987c18c462793a40780211f93d9d03e
BLAKE2b-256 d6c31e322bc6ab18b5eb66a26e14b57720d73be6ed2b266d06961f34c90706dc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for myalias-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eac7c8399df258fe07dc6a582c72485d43befb5dbfe6f2687eef683ecfd754d5
MD5 3d01bd16a0e47a8f1acc68c206aa84a4
BLAKE2b-256 76a6e56ba18898804436e289b654d86848615746ec237aa83124d20d32eed3ad

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