From 1de0796507764bcbd449f593e4076df9b7dae1f6 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 5 Dec 2015 17:20:42 +0100 Subject: [PATCH] Add interface specification for the notes module --- etc/cli.yml | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/etc/cli.yml b/etc/cli.yml index 21b38e0f..d8c19e0b 100644 --- a/etc/cli.yml +++ b/etc/cli.yml @@ -258,3 +258,78 @@ subcommands: version: 0.1 author: Matthias Beyer + - notes: + about: Notes module + version: 0.1 + author: Matthias Beyer + subcommands: + - add: + about: Add Note + version: 0.1 + author: Matthias Beyer + args: + - name: + short: n + long: name + help: Add a name to the note + required: false + takes_value: true + + - tags: + short: t + long: tags + help: Add these tags to the note + required: false + takes_value: true + + - list: + about: List notes + version: 0.1 + author: Matthias Beyer + args: + - namegrep: + short: n + long: name + help: Filter for name which matches this regex + required: false + takes_value: true + + - grep: + short: g + long: grep + help: grep with regex + required: false + takes_value: true + + - tags: + short: t + long: tags + help: Filter for these tags + required: false + takes_value: true + + - remove: + about: Remove note(s) + version: 0.1 + author: Matthias Beyer + args: + - id: + long: id + help: Delete Note by ID + required: false + takes_value: true + + - match: + short: m + long: match + help: Match for regex + required: false + takes_value: true + + - tags: + short: t + long: tags + help: Filter for these tags + required: false + takes_value: true +