Skip to content

samsiva-dev/notebook_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Notebook CLI App build using Go lang, Cobra, Prompt UI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages