Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
URI format: obsidian://shell-commands?execute=123 (executes a shell command whose id is 123). Edit 2022-04-26: vault= parameter can also be added to the uri.
Or just assign variable values without executing anything: obsidian://shell-commands?_my_custom_variable=my_value&_another=abc
TODO:
[x] Add a an icon button to the settings that can be used to copy the uri of a specific shell command. The uri should include the vault parameter, too.
[x] Make documentation.
[x] Edit the description in manifest.json.
[x] Edit the description in GitHub.
[x] Make a test that sets custom variables and executes a shell command.
Discussed in https://github.com/Taitava/obsidian-shellcommands/discussions/195
obsidian://shell-commands?execute=123
(executes a shell command whose id is123
). Edit 2022-04-26:vault=
parameter can also be added to the uri.obsidian://shell-commands?execute=123&_my_custom_variable=my_value&_another=abc
obsidian://shell-commands?_my_custom_variable=my_value&_another=abc
TODO:
vault
parameter, too.manifest.json
.