aha-moment

0.5.5 • Public • Published

💡 Aha!

aha is a simple CLI tool to save your awesome aha moments right where you live!

carbon

Installation

You can install it globaly from npm:

$ npm install --global aha-moment

Now it's available using aha command.

Usage

You have a small CRUD actions with this tool.


Add

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.

Screen Shot 2020-09-28 at 17 04 39

List

To see a list of saved moments, use aha list command.

Screen Shot 2020-09-28 at 17 17 48

Show

You can see the details of an aha moment using aha show command:

$ aha show 17

Which 17 is the moment's ID.

Screen Shot 2020-09-28 at 17 49 27

Remove

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.

Screen Shot 2020-09-28 at 17 23 10

In both ways, you should confirm the delete action. Default is no.

Edit

You can edit each moment. Just run the aha edit. Select the right moment and update it.

Screen Shot 2020-09-28 at 17 30 09

If you know the ID you can make the process faster:

$ aha edit 24

Then you can change the title and the status.

Clear

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.

Screen Shot 2020-09-28 at 17 32 11


Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

License

MIT License © Peyman Eskandari

TODO

  • list
  • add
  • show
  • remove
  • clear
  • edit
  • add-note
  • remove-note
  • clear-notes
  • export
  • import

Readme

Keywords

Package Sidebar

Install

npm i aha-moment

Weekly Downloads

0

Version

0.5.5

License

MIT

Unpacked Size

17.4 kB

Total Files

14

Last publish

Collaborators

  • p3yman