Notes-CLI is a tool for note-taking in the command line. Using the common module fs from Node.js, notes are stored in an output file notes.json
in the root directory.
Fork the GitHub repository here, then clone the forked version to your device.
Install all dependencies using npm:
npm install
To generate the JavaScript files needed to run the program, run the TypeScript compiler:
tsc
The generated files should appear in the root directory.
In command line, use node app.js --help
to reference all available commands, or append the --help
flag to any command to see usage info.
Parameters: title (string), body (string)
node app.js add --title="My First Note" --body="This is great!"
Parameters: title (string)
node app.js read --title="My First Note"
Parameters: none
node app.js list
Parameters: title (string)
node app.js delete --title="My First Note"
See MIT License