UseBookmarkCliKeyboardInput
This content is for v1.3.0. Switch to the latest version for up-to-date documentation.
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:49
Bookmark CLI keyboard hook入力。
Properties
Section titled “Properties”closeCliPage
Section titled “closeCliPage”
readonlycloseCliPage:CloseCliPageHandler
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:51
CLI pageを閉じる関数。
closeCommandHistoryList
Section titled “closeCommandHistoryList”
readonlycloseCommandHistoryList: () =>void
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:55
Command history一覧を閉じる関数。
Returns
Section titled “Returns”void
commandState
Section titled “commandState”
readonlycommandState:BookmarkCliCommandState
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:53
現在のcommand state。
executeInputValue
Section titled “executeInputValue”
readonlyexecuteInputValue:CommandInputExecutor
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:57
Command入力値を実行する関数。
handleCommandExecutionError
Section titled “handleCommandExecutionError”
readonlyhandleCommandExecutionError:CommandExecutionErrorHandler
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:59
Command実行失敗handler。
inputValue
Section titled “inputValue”
readonlyinputValue:string
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:61
現在のCLI入力値。
selectedResultIndex
Section titled “selectedResultIndex”
readonlyselectedResultIndex:ResultCursorIndex
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:63
選択中result index。
selectedSuggestionIndex
Section titled “selectedSuggestionIndex”
readonlyselectedSuggestionIndex:CompletionCursorIndex
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:65
選択中suggestion index。
setInputValue
Section titled “setInputValue”
readonlysetInputValue:InputValueSetter
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:67
入力値setter。
setSelectedResultIndex
Section titled “setSelectedResultIndex”
readonlysetSelectedResultIndex:ResultCursorSetter
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:69
Result cursor setter。
setSelectedSuggestionIndex
Section titled “setSelectedSuggestionIndex”
readonlysetSelectedSuggestionIndex:SuggestionCursorSetter
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:71
Suggestion cursor setter。
showCommandHistoryList
Section titled “showCommandHistoryList”
readonlyshowCommandHistoryList: () =>boolean
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:73
Command history一覧を表示する関数。
Returns
Section titled “Returns”boolean
suggestionItems
Section titled “suggestionItems”
readonlysuggestionItems: readonlyBookmarkCliSuggestionItem[]
Defined in: entrypoints/cli-page/use-bookmark-cli-keyboard.ts:75
入力中commandのsuggestion一覧。