Skip to content

thassiov/cmdvault-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

cmdvault-registry

A curated collection of 525+ command snippets for cmdvault — covering system administration, networking, containers, development, security, and more.

Each command includes a description explaining what it does and why you'd use it, along with interactive placeholders that let you fill in values via fuzzy search.

Usage

Clone this repo and point cmdvault at it:

git clone https://github.com/thassiov/cmdvault-registry.git
cmdvault -f /path/to/cmdvault-registry/registry/

You can also use it alongside your personal commands:

# Load both your commands and the registry
cmdvault -f ~/.config/cmdvault/commands -f /path/to/cmdvault-registry/registry/

What's inside

33 YAML files organized by category:

System Administration

File Commands Description
registry/system/services.yaml 28 systemctl, journalctl, systemd-analyze boot profiling
registry/system/processes.yaml 8 ps, lsof, ss — process monitoring and port management
registry/system/disks.yaml 15 lsblk, fdisk, mount, df, du, smartctl, LVM
registry/system/files.yaml 10 find, locate, stat, file, tree
registry/system/users.yaml 15 useradd, usermod, passwd, chmod, chown, ACLs
registry/system/info.yaml 15 hostnamectl, uname, lscpu, lspci, dmidecode, sensors
registry/system/logs.yaml 12 dmesg, journalctl filters, strace, ltrace, ausearch
registry/system/cron.yaml 10 crontab, at/atq/atrm, systemd timers
registry/system/monitoring.yaml 23 vmstat, iostat, sar, perf, bpftrace, iotop, nethogs
registry/system/selinux.yaml 19 getenforce, semanage, chcon, restorecon, booleans, audit2allow

Networking

File Commands Description
registry/network/advanced.yaml 36 ip (addr/link/route/neigh/netns), tc, bridge, VLAN, WireGuard, tcpdump
registry/network/dns.yaml 13 dig, nslookup, host, resolvectl
registry/network/firewall.yaml 16 iptables, ufw, nftables
registry/network/http.yaml 10 curl, wget
registry/network/scan.yaml 13 nmap, ping, traceroute, mtr, netcat
registry/network/wireless.yaml 8 iwconfig, nmcli, iw
registry/ssh.yaml 8 ssh, scp, ssh-keygen, ssh tunnels

Containers & Orchestration

File Commands Description
registry/docker.yaml 20 Docker container and image management
registry/k8s.yaml 19 kubectl pods, deployments, services, logs, exec

Security & Cryptography

File Commands Description
registry/crypto/tls.yaml 26 Certificate inspection, generation, conversion, Let's Encrypt
registry/crypto/gpg.yaml 25 Key management, encrypt/decrypt, sign/verify, keyservers

Backup & Archives

File Commands Description
registry/backup.yaml 28 tar, gzip, xz, zstd, rsync, zip

Development

File Commands Description
registry/dev/build.yaml 10 make, cmake, gcc, go build
registry/dev/runtime.yaml 14 python, node, go, java, ruby
registry/dev/db.yaml 8 psql, mysql, sqlite3, redis-cli
registry/git.yaml 27 Git workflow, branching, history, stash, remotes

Cloud

File Commands Description
registry/cloud/aws.yaml 15 AWS CLI — S3, EC2, IAM, Lambda, CloudWatch

Package Managers

File Commands Description
registry/packages/apt.yaml 14 apt, dpkg — Debian/Ubuntu
registry/packages/dnf.yaml 14 dnf — Fedora/RHEL
registry/packages/pacman.yaml 12 pacman — Arch Linux
registry/packages/npm.yaml 10 npm — Node.js

Other

File Commands Description
registry/media.yaml 18 ffmpeg, imagemagick, yt-dlp
registry/tmux.yaml 6 tmux sessions, windows, panes

YAML format

Each file follows the cmdvault YAML format:

name: Category Name
description: What this category covers

commands:
  - name: descriptive name
    command: the-binary
    args: ["arg1", "{{placeholder}}"]
    description: What this command does and when to use it.
    placeholders:
      placeholder:
        source: "shell command that generates choices"
        description: what this value represents
        default: optional-default-value

Placeholders support:

  • source — a shell command whose output feeds an fzf picker for selection
  • description — shown in the prompt when asking for the value
  • default — pre-filled value (press Enter to accept)
  • type: file — launches an interactive file picker

Contributing

Contributions are welcome. To add commands:

  1. Find the right category file (or create a new one)
  2. Follow the existing YAML format and style
  3. Write descriptions that explain what and why, not just the flags
  4. Add source to placeholders when there's a sensible set of choices
  5. Test that your commands load: cmdvault -f registry/ --list-aliases

License

MIT

About

A curated collection of command snippets for cmdvault

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors