summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-01-02 19:44:14 +0100
committerMatthias Beyer <mail@beyermatthias.de>2016-01-02 20:06:31 +0100
commit9ac388c2b68f65c3c485b3e6572d6637516efbf2 (patch)
tree164f82f820084b916f9fa59e2f448d746af18cbf /etc
parent8ac798687a1201e7011414d10ce8153f2d4aee80 (diff)
Notes: Add command_edit()
Diffstat (limited to 'etc')
-rw-r--r--etc/cli.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/etc/cli.yml b/etc/cli.yml
index d8c19e0b..08fa8293 100644
--- a/etc/cli.yml
+++ b/etc/cli.yml
@@ -282,6 +282,38 @@ subcommands:
required: false
takes_value: true
+ - edit:
+ about: Edit Note
+ version: 0.1
+ author: Matthias Beyer <mail@beyermatthias.de>
+ args:
+ - id:
+ long: id
+ help: Edit Note with this ID
+ required: false
+ takes_value: true
+
+ - namegrep:
+ short: n
+ long: name
+ help: Edit notes where the name matches this regex
+ required: false
+ takes_value: true
+
+ - grep:
+ short: g
+ long: grep
+ help: Edit notes where the content matches this regex
+ required: false
+ takes_value: true
+
+ - tags:
+ short: t
+ long: tags
+ help: Edit notes with these tags
+ required: false
+ takes_value: true
+
- list:
about: List notes
version: 0.1