Skip to content
GitHub

okf ctx add

usage: okf ctx add [-h] [--pos POS] [--mode {pflicht,nachschlag}] [--comment COMMENT] [--json]
slug PATH
add PATH as required entry (default: last position) or as reference entry
positional arguments:
slug ctx slug
PATH concept or file path
options:
-h, --help show this help message and exit
--pos POS required position (clamped to 1..n+1)
--mode {pflicht,nachschlag}
entry mode
--comment COMMENT entry comment
--json print one JSON envelope {command, ok, data, warnings, error}