https://github.com/p3yman/aha
💡 A simple CLI tool to save your awesome aha moments right where you live!
https://github.com/p3yman/aha
cli idea javascript terminal
Last synced: about 1 year ago
JSON representation
💡 A simple CLI tool to save your awesome aha moments right where you live!
- Host: GitHub
- URL: https://github.com/p3yman/aha
- Owner: p3yman
- License: mit
- Created: 2020-09-24T04:30:42.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-09-30T05:27:40.000Z (almost 6 years ago)
- Last Synced: 2024-04-19T18:31:28.182Z (about 2 years ago)
- Topics: cli, idea, javascript, terminal
- Language: JavaScript
- Homepage:
- Size: 83 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 💡 Aha!
`aha` is a simple CLI tool to save your awesome aha moments right where you live!

## Installation
You can install it globaly from npm:
```shell
$ 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:
```bash
$ 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.

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

### Show
You can see the details of an aha moment using `aha show` command:
```bash
$ aha show 17
```
Which `17` is the moment's ID.

### Remove
To remove an aha moment, use `aha remove` command.
You can do it in a quick way:
```bash
$ 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.
### Edit
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:
```bash
$ 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.

---
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
## License
[MIT License](https://mit-license.org/) © [Peyman Eskandari](https://github.com/p3yman/)
## TODO
- [x] list
- [x] add
- [x] show
- [x] remove
- [x] clear
- [x] edit
- [ ] add-note
- [ ] remove-note
- [ ] clear-notes
- [ ] export
- [ ] import