aha
is a simple CLI tool to save your awesome aha moments right where you live!
You can install it globaly from npm:
$ npm install --global aha-moment
Now it's available using aha
command.
You have a small CRUD actions with this tool.
Using add you can create new aha moment in the local database.
You can use this quick create way:
$ aha add "What a great idea!"
Or you can just run aha add
and create a new aha moment by answering some questions. Just enter a title and select a status and you are good to go.
To see a list of saved moments, use aha list
command.
You can see the details of an aha moment using aha show
command:
$ aha show 17
Which 17
is the moment's ID.
To remove an aha moment, use aha remove
command.
You can do it in a quick way:
$ aha remove 24
Which 24
is the moment's ID.
Or you can just run aha remove
and choose from available moments.
In both ways, you should confirm the delete action. Default is no.
You can edit each moment. Just run the aha edit
. Select the right moment and update it.
If you know the ID you can make the process faster:
$ aha edit 24
Then you can change the title and the status.
To clear all the saved moments you can use aha clear
. Be careful that this command is not undoable. Just run the command, confirm deleting and it's done.
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
MIT License © Peyman Eskandari
- list
- add
- show
- remove
- clear
- edit
- add-note
- remove-note
- clear-notes
- export
- import