Notes is a cli tool that allows the user to create notes quickly using the commandline.
- Install Poetry to your system (poetry docs)
- Run the command
make install - Run the command
poetry shellin order to enable the virtual environment and run the cli tool
Further make commands can be viewed in the MAKEFILE
# Creates a file in the current working directory with the filename
# YYYY-MM-DD-HH-MM-SS.txt with the content Hello World!
notes Hello World!
# Replaces the content in file test.txt if it exists with Hello World!
notes Hello World! --replace --filename test.txt
# Creates or appends (in a newline) to a file in a directory with Hello World!
notes Hello World! --filename directory/test.txt
Commandline arguments can be given in any order
--replace or -r can be used
--filename or -f can be used
unit tests are found in "tests/unit" and can be run with make unit