Skip to content

d3uceY/Ya-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

103 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ya logo

Ya - CLI

Run your commands. Right now.

Ya CLI Banner License

A lightweight command-line shortcut manager. Save long commands under short names and run them instantly β€” from the terminal or the built-in full-screen TUI.

"Ya" comes from the Spanish word meaning "right now."


Download

Platform
πŸͺŸ Windows Download
🍎 macOS Download
🐧 Linux Download

Or install with Homebrew: brew tap d3uceY/homebrew-ya && brew install ya


TUI

Run ya with no arguments to open the interactive TUI.

Ya TUI

Browse, search, run, and manage shortcuts without typing subcommands.

Key Action
↑ ↓ / j k Navigate
Enter Run selected shortcut
/ Search
a e r d Add / Edit / Rename / Delete
p Pin / unpin
h Run history
D Saved directories
? Help
q Quit

CLI Quick Reference

ya                          # open TUI
ya <shortcut>               # run a shortcut
ya add <name> '<command>'   # add a shortcut
ya remove <name>            # delete a shortcut
ya rename <old> <new>       # rename a shortcut
ya list                     # list all shortcuts
ya search <term>            # search by name or command
ya show <name>              # show a shortcut's command
ya import <file>            # import from JSON
ya export <dir>             # export to JSON
ya version                  # show version

Template values

Add {placeholder} tokens to any command β€” Ya prompts you to fill them in at runtime:

ya add commit 'git commit -m {message}'
ya commit
# β†’ [1/1] message: fix login bug

Extra arguments

Pass additional args when running a shortcut β€” they're appended to the command:

ya gcm -m "Initial commit"   # runs: git commit -m 'Initial commit'

Shell Tab-Completion

One-time setup to tab-complete shortcut names:

# PowerShell
ya completion powershell >> $PROFILE ; . $PROFILE
# Bash
echo 'source <(ya completion bash)' >> ~/.bashrc && source ~/.bashrc
# Zsh
echo 'source <(ya completion zsh)' >> ~/.zshrc && source ~/.zshrc
# Fish
ya completion fish > ~/.config/fish/completions/ya.fish

Data

Shortcuts, history, and config are stored in your user config directory and shared with Ya-GUI:

  • Windows: %APPDATA%\ya\data\
  • macOS: ~/Library/Application Support/ya/data/
  • Linux: ~/.config/ya/data/

GUI Companion

Ya GUI

Ya-GUI is a desktop app that reads and writes the same files. Anything you create in the CLI or TUI is immediately available in the GUI, and vice versa.


License

MIT β€” see LICENSE.

Contributing

See CONTRIBUTING.md for build instructions, project structure, and how to submit changes.

About

my private CLI (Command-Line Interface) productivity tool - specifically a command shortcut manager/alias manager.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors