Releases: kynatro/notepack-cli
Bug fixes
What's Changed
- Bump json5 from 2.2.0 to 2.2.3 by @dependabot in #33
- Fix git backup bugs by @kynatro in #34
Full Changelog: v1.0.0-prerelease.23...v1.0.0-prerelease.24
Add affordance for backing up un-tracked folders
Enhances the backup
command to accommodate files within un-tracked folders. When un-tracked folders are detected, the backup command will iterate through the folder's files and add them to the list for individual commits.
To-do:
- Make affordances for sub-folders within un-tracked folders.
Fix backup bugs
Fixes bugs with the backup
command:
- Documents
backup
in thespeak_help()
command so it is listed as a function when you typenotepack
at the command line - Fixes H1 regex pattern to properly extract the entire H1 as the commit message if it is present in the file
- Fixes file path escaping to escape parenthesis characters.
HOT: Add README.md to backup command
Add the missed root README.md
file to the notepack backup
command.
New Backup Command!
Easily backup your notes in git with the notepack backup
command which does the following:
- Scans the Note base folders for any new and updated files (does not include files outside configuration specified base folders)
- Commits each new file individually with a commit message based on the first
H1
found in the file's Markdown, or the name of the file (without anyYYYY-MM-DD
prefix) - Commits all updated files with an "Update todos" message
v1.0.0-prerelease.18
Updates URL encoding on todo and recent file links in README files to leave :, +, and , characters un-encoded. Leaving these characters encoded was causing errors with some Markdown editors like Obsidian.
- Leaves :, +, and , characters un-encoded in generated README links
- Includes updating recent files list in notepack update command
QOL improvements (redux)
Republishing of v16 so it can be built.
QOL improvements
Adds check to notepack status
to actually check if the PID in ~/.notepack_status
is still running. This was done to ensure that if the script was terminated by something other than a SIGINT
, SIGTERM
, or EXIT
signal the notepack status
command would not return that notepack was still running on the old PID.
Add recent files to watch start
Adds an initial recentFiles() check to watch start so the README.md
file is updated right after executing notepack watch
Recent Files
Adds the ability to log recent files to the main note project's README.md
file. Also adds the recent
command to the CLI.