Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sambasivareddy-ch/notebook_cli
Notebook CLI App build using Go lang, Cobra, Prompt UI
https://github.com/sambasivareddy-ch/notebook_cli
cli cli-app cobra golang promptui
Last synced: about 2 months ago
JSON representation
Notebook CLI App build using Go lang, Cobra, Prompt UI
- Host: GitHub
- URL: https://github.com/sambasivareddy-ch/notebook_cli
- Owner: sambasivareddy-ch
- License: mit
- Created: 2024-06-14T17:17:02.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-23T12:45:47.000Z (4 months ago)
- Last Synced: 2024-11-13T23:46:54.338Z (about 2 months ago)
- Topics: cli, cli-app, cobra, golang, promptui
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**NoteBook CLI in Go**
Repository: https://github.com/sambasivareddy-ch/notebook_cli
Build: To build the app use
go build .
This will create a build file/executable file notebook_cli***Command***
- InitTable to initialize the notebook table
- completion Generate the autocompletion script for the specified shell
- create To create new notes
- delete To delete a notes based on title
- help Help about any command
- modify Modifies the notes based on title
- view Displays all the notes existed***Usage***
- ./notebook_cli -> Will creates a database called sqlite-database.db (mandatory step-1)
- ./notebook_cli InitTable -> Will creates a NoteBooks table in sqlite-database.db file (mandatory step-2)
- ./notebook_cli view -> Gives all the notes in the table
- ./notebook_cli create -> gives the prompt to enter the title & notes. Once entered a new notes will be created
- ./notebook_cli delete -> gives the prompt to select the title and deletes a notes from the table based on that select title
- ./notebook_cli modify -> gives the prompt to select the title and a prompt to enter new notes & update the table
- ./notebook_cli --help -> List out all the available command