Skip to content

Commit

Permalink
Append Command Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
primis committed Jun 24, 2021
1 parent aaa0d33 commit 4f3cdf6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,7 @@ If no file-suffix is given in `note-name`, the notes will attempt to open `note-

### `notes append <note-name> [message]`

Appends a given note with the test `message` from the command line. If no note yet exists, a new note of <note-name> will be created. This command also accepts stdin
via piping. An example would be `echo "hello" | notes append <note-name>`
Shorthand alias also available with `notes a`.
Appends `message` to the `note-name` note. If this note does not exist, a new note of <note-name> will be created. This command also accepts stdin via piping. An example would be `echo "hello" | notes append <note-name>` Shorthand alias also available with `notes a`.

### `notes mv <note-name> <destination>|<directory>`

Expand Down
2 changes: 1 addition & 1 deletion _notes
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ __notes_cmd ()
grep:'<pattern> Search notes by content'
search:'[pattern] Search notes by filename or content'
open:'<name> Open a notes for editing by full name'
append:'<name> [message] '
append:'<name> [message] Appends a note. Will use stdin if no message is given'
rm:'[-r | --recursive] <name> Remove note, or folder if -r or --recursive is given]'
cat:'<name> Display a note by name'
--version:'Show version'
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Run this file to run all the tests, once
./test/libs/bats/bin/bats test/*.bats
./test/libs/bats/bin/bats test/*.bats

0 comments on commit 4f3cdf6

Please sign in to comment.