Skip to content

kobibarhanin/cmdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

CMDB (command data base)

This small tool helps me record and access commands I use frequently. You'd normally just use your shell history for this, but after having my shell history deleted a couple of times and for the convenience of having all my day-to-day commands in one gitable location, I decided it's worth the effort.

Installation

So that's it - no installation needed, just clone the repo and you're good to go. For optimal experience add the repo to your path.

Usage

cmdb

help

To view recorded commands:

cmdb show

help

To run a command:

cmdb run <command number> <parameters>

if a command is not specified the commands db is showed

help

To add a new command:

cmdb add '<command >'

To edit commands:

cmdb edit

Notes:

  • In edit mode - make sure to leave a trailing blank line at the end of the file.
  • Parameters are concatenated to the end of the command (may change in the future).
  • Feel free to contribute.

About

Shell commands data base

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages