Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use $EDITOR edit the commands you want to add #5

Open
yangchenyun opened this issue Oct 27, 2012 · 0 comments
Open

use $EDITOR edit the commands you want to add #5

yangchenyun opened this issue Oct 27, 2012 · 0 comments
Assignees

Comments

@yangchenyun
Copy link
Owner

current usage to add a command goes like this

bin/ask add <command> --desc "this is awesome command"

It could be reduced to a simple command bin/ask add:

  • It read the last command executed from commandline
  • It opens the $EDITOR to edit the command
    • The first line is the command
    • The second below is the description / tags etc.
  • When the file is closed, it hands the control to ask and ask parsed the file and added the command into storage.
@ghost ghost assigned yangchenyun Jan 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant