OrkoHunter / keep

A Meta CLI toolkit : Personal shell command keeper and snippets manager
MIT License
599 stars 54 forks source link

Feature: keep new inline #93

Closed ZachBien closed 10 months ago

ZachBien commented 10 months ago

Creating a new keep requires me to enter the command after a prompt. But I would prefer to have a shortcut where I can do

keep new my command to keep

And that will create a quick keep (without description or alias)

That will allow me to do something like

$ my command that I can't remember
$ keep new !!

Simple!

rahuliyer95 commented 10 months ago

You can try

$ my command that I can't remember
$ keep new --cmd "!!" --desc "my command"