@@ -455,8 +455,8 @@ Create a note
455455```
456456USAGE
457457 $ hackmd-cli notes create [--commentPermission <value>] [--content <value>] [-e] [-h] [--parentFolderId <value>]
458- [--readPermission <value>] [--title <value>] [--writePermission <value>] [--columns <value> | -x ] [--sort <value>]
459- [--filter <value>] [--output csv|json|yaml | | [--csv | --no-truncate]] [--no-header | ]
458+ [--readPermission <value>] [--tags <value>] [--title <value>] [--writePermission <value>] [--columns <value> | -x ]
459+ [--sort <value>] [-- filter <value>] [--output csv|json|yaml | | [--csv | --no-truncate]] [--no-header | ]
460460
461461FLAGS
462462 -e, --editor create note with $EDITOR
@@ -474,6 +474,7 @@ FLAGS
474474 --parentFolderId=<value> parent folder id
475475 --readPermission=<value> set note permission: owner, signed_in, guest
476476 --sort=<value> property to sort by (prepend '-' for descending)
477+ --tags=<value> set note tags, comma-separated (e.g. tag1,tag2)
477478 --title=<value> new note title
478479 --writePermission=<value> set note permission: owner, signed_in, guest
479480
@@ -517,25 +518,34 @@ EXAMPLES
517518
518519## ` hackmd-cli notes update `
519520
520- Update note content
521+ Update note
521522
522523```
523524USAGE
524- $ hackmd-cli notes update [--content <value>] [-h] [--noteId <value>] [--parentFolderId <value>]
525+ $ hackmd-cli notes update [--content <value>] [-h] [--noteId <value>] [--parentFolderId <value>] [--permalink <value>]
526+ [--readPermission <value>] [--tags <value>] [--writePermission <value>]
525527
526528FLAGS
527- -h, --help Show CLI help.
528- --content=<value> new note content
529- --noteId=<value> HackMD note id
530- --parentFolderId=<value> parent folder id
529+ -h, --help Show CLI help.
530+ --content=<value> new note content
531+ --noteId=<value> HackMD note id
532+ --parentFolderId=<value> parent folder id
533+ --permalink=<value> note permalink
534+ --readPermission=<value> set note permission: owner, signed_in, guest
535+ --tags=<value> set note tags, comma-separated (e.g. tag1,tag2)
536+ --writePermission=<value> set note permission: owner, signed_in, guest
531537
532538DESCRIPTION
533- Update note content
539+ Update note
534540
535541EXAMPLES
536542 $ hackmd-cli notes update --noteId=WNkLM6gkS0Cg2cQ8rv7bYA --content='# A new title'
537543
538544 $ hackmd-cli notes update --noteId=WNkLM6gkS0Cg2cQ8rv7bYA --parentFolderId=fc7a3d48-4a07-4cbf-bf4f-e65dd896e01c --content='# A new title'
545+
546+ $ hackmd-cli notes update --noteId=WNkLM6gkS0Cg2cQ8rv7bYA --readPermission=owner --writePermission=owner
547+
548+ $ hackmd-cli notes update --noteId=WNkLM6gkS0Cg2cQ8rv7bYA --tags=tag1,tag2
539549```
540550
541551## ` hackmd-cli team-folders `
@@ -721,8 +731,9 @@ Create a team note
721731```
722732USAGE
723733 $ hackmd-cli team-notes create [--commentPermission <value>] [--content <value>] [-e] [-h] [--parentFolderId <value>]
724- [--readPermission <value>] [--teamPath <value>] [--title <value>] [--writePermission <value>] [--columns <value> |
725- -x] [--sort <value>] [--filter <value>] [--output csv|json|yaml | | [--csv | --no-truncate]] [--no-header | ]
734+ [--readPermission <value>] [--tags <value>] [--teamPath <value>] [--title <value>] [--writePermission <value>]
735+ [--columns <value> | -x] [--sort <value>] [--filter <value>] [--output csv|json|yaml | | [--csv | --no-truncate]]
736+ [--no-header | ]
726737
727738FLAGS
728739 -e, --editor create note with $EDITOR
@@ -740,6 +751,7 @@ FLAGS
740751 --parentFolderId=<value> parent folder id
741752 --readPermission=<value> set note permission: owner, signed_in, guest
742753 --sort=<value> property to sort by (prepend '-' for descending)
754+ --tags=<value> set note tags, comma-separated (e.g. tag1,tag2)
743755 --teamPath=<value> HackMD team path
744756 --title=<value> new note title
745757 --writePermission=<value> set note permission: owner, signed_in, guest
@@ -785,27 +797,35 @@ EXAMPLES
785797
786798## ` hackmd-cli team-notes update `
787799
788- Update team note content
800+ Update team note
789801
790802```
791803USAGE
792- $ hackmd-cli team-notes update [--content <value>] [-h] [--noteId <value>] [--parentFolderId <value>] [--teamPath
793- <value>]
804+ $ hackmd-cli team-notes update [--content <value>] [-h] [--noteId <value>] [--parentFolderId <value>]
805+ [--permalink <value>] [--readPermission <value>] [--tags <value>] [--teamPath <value>] [--writePermission <value>]
794806
795807FLAGS
796- -h, --help Show CLI help.
797- --content=<value> new note content
798- --noteId=<value> HackMD note id
799- --parentFolderId=<value> parent folder id
800- --teamPath=<value> HackMD team path
808+ -h, --help Show CLI help.
809+ --content=<value> new note content
810+ --noteId=<value> HackMD note id
811+ --parentFolderId=<value> parent folder id
812+ --permalink=<value> note permalink
813+ --readPermission=<value> set note permission: owner, signed_in, guest
814+ --tags=<value> set note tags, comma-separated (e.g. tag1,tag2)
815+ --teamPath=<value> HackMD team path
816+ --writePermission=<value> set note permission: owner, signed_in, guest
801817
802818DESCRIPTION
803- Update team note content
819+ Update team note
804820
805821EXAMPLES
806822 $ hackmd-cli team-notes update --teamPath=CLI-test --noteId=WNkLM6gkS0Cg2cQ8rv7bYA --content='# A new title'
807823
808824 $ hackmd-cli team-notes update --teamPath=CLI-test --noteId=WNkLM6gkS0Cg2cQ8rv7bYA --parentFolderId=fc7a3d48-4a07-4cbf-bf4f-e65dd896e01c --content='# A new title'
825+
826+ $ hackmd-cli team-notes update --teamPath=CLI-test --noteId=WNkLM6gkS0Cg2cQ8rv7bYA --readPermission=owner --writePermission=owner
827+
828+ $ hackmd-cli team-notes update --teamPath=CLI-test --noteId=WNkLM6gkS0Cg2cQ8rv7bYA --tags=tag1,tag2
809829```
810830
811831## ` hackmd-cli teams `
0 commit comments