Skip to content

A CLI app for managing plain text notes, written in C

Notifications You must be signed in to change notification settings

WyntrHeart/note

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

note

A simple cli program to manage plain text notes. By default notes are stored in $HOME/documents/notes (or %USERPROFILE%\Documents\notes on Windows if %HOME% isn't set). You can set $NOTE_DIR to override the default directory. The edit subcommand uses the $EDITOR environment variable. Tested on Windows 10, Android 9 and 13, and Ubuntu 24.04. Builds with GCC. MSVC does not work.

NOTICE: I am a hobby programmer with no proper education. Please use this software with caution. I am not responsible if it deletes all your bank info, spontaneously combusts your computer, or if reading my awful code causes you to have an aneurysm. Feedback from more knowledgeable programmers would be great.

usage: note NOTE|SUBCOMMAND [ARG1 [ARG2]]
    Display NOTE or do SUBCOMMAND. Specify notes by name only, 'note' handles
    file extensions internally.
subcommands:
    help|h     Display this help text
    ls         List notes and subdirs in note directory. If ARG1 is a
               subdir list notes/subdirs inside it.
    add|a      Append the string ARG2 to a new line at the end of ARG1
    edit|e     Open ARG1 with $EDITOR
    clear|clr  Erase contents of ARG1
    where|w    Print full path to ARG1 (or the note dir if ARG1 is omitted)
    rm         Remove ARG1
    cp         Copy ARG1 to ARG2
    mv         Move/rename ARG1 to ARG2
    mkdir      Create subdir named ARG1
    rmdir      Remove subdir named ARG1

This software is licensed under the GNU GPL version 3

About

A CLI app for managing plain text notes, written in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published