mirror of https://github.com/CrimsonTome/tldr.git
26 lines
653 B
Markdown
26 lines
653 B
Markdown
|
# qc
|
||
|
|
||
|
> Manage and execute command snippets stored in QOwnNotes notes.
|
||
|
> See also: `qownnotes`.
|
||
|
> More information: <https://www.qownnotes.org/getting-started/command-line-snippet-manager.html>.
|
||
|
|
||
|
- Configure the snippet manager, e.g. to set the security token from QOwnNotes:
|
||
|
|
||
|
`qc configure`
|
||
|
|
||
|
- Search and print command snippets stored in your `Commands.md` note and all your notes tagged with `commands`:
|
||
|
|
||
|
`qc search`
|
||
|
|
||
|
- Execute a snippet and show the command before executing:
|
||
|
|
||
|
`qc exec --command`
|
||
|
|
||
|
- Execute the last snippet and show the command before executing:
|
||
|
|
||
|
`qc exec --command --last`
|
||
|
|
||
|
- Switch between note folders in QOwnNotes:
|
||
|
|
||
|
`qc switch`
|