adds schema view and schema generating command
This commit is contained in:
@@ -76,6 +76,10 @@ public enum Command: Equatable, Sendable {
|
||||
case toggleGit
|
||||
/// Esc with the Git view open and no overlay over it.
|
||||
case closeGitView
|
||||
/// ⌘D and the title bar's Schema button, in a Laravel app: opens or closes the full-screen Schema view.
|
||||
case toggleSchemaView
|
||||
/// Esc with nothing selected in the Schema view, and its Close button.
|
||||
case closeSchemaView
|
||||
/// ⌘1–⌘3 and the title-bar pane toggles: shows or hides one column.
|
||||
case togglePane(Panel)
|
||||
/// ⌘L
|
||||
@@ -126,6 +130,23 @@ public enum Command: Equatable, Sendable {
|
||||
/// ⌘C without a selection, outside a terminal: opens the Git view on its message field.
|
||||
case focusCommitMessage
|
||||
|
||||
// MARK: Schema view
|
||||
|
||||
/// The Run button: `php artisan helder:schema`, then the dump is re-read.
|
||||
case runSchemaDump
|
||||
/// Closes the view and pastes the prompt that writes `HelderSchemaCommand.php` into the agent, unsent.
|
||||
case generateSchemaCommand
|
||||
case copySchemaPrompt
|
||||
/// The detail panel's Pass on to Claude: `@schema:<table>` into the agent.
|
||||
case passSchemaTable(String)
|
||||
case copySchemaTableName(String)
|
||||
/// The top bar's command path: closes the view and opens the command in the editor.
|
||||
case openSchemaCommandFile
|
||||
/// Esc with a table selected.
|
||||
case clearSchemaSelection
|
||||
/// Esc in the table search while it holds text.
|
||||
case clearSchemaSearch
|
||||
|
||||
// MARK: Clean copy
|
||||
|
||||
/// The clean-copy popup's Copy and ⌘↩: copies its text and closes it.
|
||||
|
||||
Reference in New Issue
Block a user