magic-alias

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2025 License: MIT

README ยถ

โœจ Magic Alias โœจ

This library is not recommended because its code is entirely AI-generated.

๐Ÿช„ A simple and powerful shell alias manager

๐ŸŒŸ What is Magic Alias?

Magic Alias (command: ma) is a friendly tool that helps you create and manage shell aliases. No more typing long commands over and over again!

๐Ÿš€ Features

  • ๐Ÿ“ Create aliases easily: Turn any long command into a short one
  • ๐Ÿ“‹ List all your aliases: See all your shortcuts in one place
  • ๐Ÿ—‘๏ธ Remove aliases: Delete shortcuts you don't need anymore
  • ๐Ÿ–ฅ๏ธ Interactive UI: Nice menus make it easy to use
  • ๐Ÿ”„ Works with your shell: Automatically sets up with your terminal

๐Ÿ“ฆ Installation

# Install Magic Alias
go install github.com/akarachen/magic-alias/cmd/ma@latest

# Setup your shell automatically, with autocompletion included ๐Ÿ”‹
ma init

๐ŸŽฎ How to Use

Create a new alias
# Create with arguments
ma add g git

# Or use interactive mode
ma add
List all your aliases
ma list
Remove an alias
# Remove with arguments
ma remove g

# Or use interactive mode
ma rm
Uninstall Magic Alias
# Uninstall
ma uninstall

๐Ÿงฐ Development

This project uses:

  • Cobra for CLI commands
  • Charm for interactive UI
  • Just for development tasks

To run tests:

just test

๐Ÿ“„ License

See LICENSE for details.

Directories ยถ

Path Synopsis
cmd
ma command
pkg
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL