Fetches the list of available commands from a vaults Command Palette, and stores them for later use by one of the Trigger actions.
It is unnecessary to run this action immediately before every Trigger action. Instead, I recommend setting up a separate workflow that only queries your vault(s) for their command list(s), and running it whenever the command palette in Obsidian has changed due to application updates or plugin changes.
Parameters
Vault
The vault to work in.
Type: Vault reference
Purge Actions For Obsidian's entire list of commands before fetching
Actions For Obsidian will store each vault's command list separately, and using this action for vault X would only replace vault X's command list. If you want to start over fresh, this option will delete all AFO-internal command lists.
(It's a convenience option that does the same as Purge List Of Available Commands with its "all vaults" option set.)
Type: Boolean (YES
/NO
)
Return Value
Command reference (list)
Related Links
- Search the Actions for Obsidian community forum for "Get Available Commands"