summaryrefslogtreecommitdiff
path: root/yarns/020-metadata-manipulation.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-04-18 14:00:30 +0100
committerLars Wirzenius <liw@liw.fi>2014-04-18 14:00:30 +0100
commit95a33607a440251cd3aaec4a9fc0dc317191a699 (patch)
tree031badf276ada46a4bfd681821eedfca2c318be2 /yarns/020-metadata-manipulation.yarn
parent58e2106d0d001d24e44012f8ce370b53fc972d27 (diff)
downloaddistix-95a33607a440251cd3aaec4a9fc0dc317191a699.tar.gz
Implement _set subcommand
Diffstat (limited to 'yarns/020-metadata-manipulation.yarn')
-rw-r--r--yarns/020-metadata-manipulation.yarn8
1 files changed, 8 insertions, 0 deletions
diff --git a/yarns/020-metadata-manipulation.yarn b/yarns/020-metadata-manipulation.yarn
index 53c5980..34d89d7 100644
--- a/yarns/020-metadata-manipulation.yarn
+++ b/yarns/020-metadata-manipulation.yarn
@@ -34,3 +34,11 @@ A file with a single key/value pair.
WHEN user attempts to run distix _get METADATA key
THEN attempt succeeded
AND output is "key=value\n"
+
+Set a key/value pair.
+
+ WHEN user attempts to run distix _set METADATA key2=value2
+ THEN attempt succeeded
+ WHEN user attempts to run distix _list METADATA
+ THEN attempt succeeded
+ AND output is "key=value\nkey2=value2\n"