AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0
CommandContextKey
Context keys for fast command filtering. Commands declare which keys they require, and the CommandManager maintains the current set of active keys based on app state.
Signature
type CommandContextKey = "hasSelection" | "hasSingleSelection" | "hasMultiSelection" | "selectionIsFile" | "selectionIsDirectory" | "selectionIsMixed" | "inVial" | "isRecursiveVial" | "hasVialSelection" | "hasClipboard" | "clipboardIsCut" | "clipboardIsCopy" | "clipboardIsCopySymlink" | "canGoBack" | "canGoForward" | "always";Union members
hasSelectionhasSingleSelectionhasMultiSelectionselectionIsFileselectionIsDirectoryselectionIsMixedinVialisRecursiveVialhasVialSelectionhasClipboardclipboardIsCutclipboardIsCopyclipboardIsCopySymlinkcanGoBackcanGoForwardalways