Releases: rhysd/notes-cli
Releases · rhysd/notes-cli
v1.6.2
v1.6.0
v1.5.1
v1.5.0
- New: Do paging
list
command's long output using pager command. Default pager command isless
and it can be customizable via$NOTES_CLI_PAGER
- Improve: Change layout of
list --oneline
. Category only field was removed and now category is unified with relative path. First field is not changed and category can be retrieved from the relative path. So this should not be breaking change - Improve: Truncate note body lines in
list --full
by number of lines, not bytes - Improve: Add
...
to the end of truncated note body inlist --full
- Improve: Improve help description and error message
- New: Add
--no-edit
tonew
command for an editor plugin
v1.4.0
- New: Now category can be nested with
/
likeblog/myown
orblog/dev.to
. - New: Allow to create an external subcommands like
git
.notes-foo
in$PATH
is called onnotes foo
with passing arguments and path tonotes
executable. - New: Allow to put
.template.md
at root of notes-cli home directory tree. It is always used as template for creating a new note if category-specific.template.md
is not found. - Improve: When a template is starting with
-->
(closing comment),notes
considers it is hiding metadata and automatically insert corresponding<!--
before metadata - New: (API)
Category
andCategories
types are added andCollectCategories()
factory function is added - Fix: Category or file name or tags which contain wide characters such as CJK are now correctly aligned. NFD file paths on macOS are now correctly normalized also.
- Fix: Sort order at
--sort created
was opposite. Now it is in descending order hencehead -1
can take the latest note - Fix: Close file after inline input is written to created note at
notes new
- Improve: (Doc) Tweak README sections structure and add TOC since it gets bigger.
v1.3.0
- New: Refer
$EDITOR
environment variable when$NOTES_CLI_EDITOR
is not set - Improve: Allow
$NOTES_CLI_EDITOR
to have options such as"vim -g"
. Previously only command and path could be specified like"code"
or"/path/to/emacs"
- Improve: Add more documents
- Fix: Add/Fix some tests
v1.2.0
v1.1.2
v1.1.1
- Validate category name as directory on
notes new
- Ignore horizontal rules (
---
) after metadata - Add migration script from memolist.vim. It's put in
scripts/
directory - Fix description of
--color-always
- Fix checking the latest version on
selfupdate
- Add Zsh/Bash completions
- Add
man
manual
By 2., you can add <hr/>
after metadata to separate your list from metadata:
Shopping
=======
- Category: memo
- Tags:
- Created: 2018-11-6T20:36:00+09:00
----------
- Milk
- Egg
- Meat
- Tomato