Naive sketch of possibly desirable commands (these are subject to revision):
[x] specs parse FILE: parse logical units out of source files, just print to stdout
[x] specs list [FILTER]: list specs, if FILTER is given, only list those specs that include the filter term (filter can be a tag or word), so we can search by tag or the content of a logical unit.
[x] specs add [PATH]: register all specs in PATH (recursively)
[x] specs sync [PROJECT]: update the spec db for the current project with all specs from registered sources
Naive sketch of possibly desirable commands (these are subject to revision):
specs parse FILE
: parse logical units out of source files, just print to stdoutspecs list [FILTER]
: list specs, ifFILTER
is given, only list those specs that include the filter term (filter can be a tag or word), so we can search by tag or the content of a logical unit.specs add [PATH]
: register all specs inPATH
(recursively)specs sync [PROJECT]
: update the spec db for the current project with all specs from registered sources