zk/tests/cmd-tag.tesh
2022-01-10 14:28:14 +01:00

38 lines
830 B
Plaintext

$ cd tags
# Print help for `zk tag`.
$ zk tag --help
>Usage: zk tag <command>
>
>Manage the note tags.
>
>Commands:
> tag list List all the note tags.
>
>Flags:
> -h, --help Show context-sensitive help.
> --notebook-dir=PATH Turn off notebook auto-discovery and set manually
> the notebook where commands are run.
> -W, --working-dir=PATH Run as if zk was started in <PATH> instead of the
> current working directory.
> --no-input Never prompt or ask for confirmation.
# The default command is `tag list`.
$ zk tag
>biography (1)
>biology (2)
>book (12)
>dystopia (2)
>feminism (1)
>fiction (6)
>history (2)
>non-fiction (6)
>philosophy (3)
>physics (1)
>romance (3)
>science (3)
>science-fiction (1)
2>
2>Found 13 tags