native macOS codings agent orchestrator prowl.onev.cat
Something went wrong. Try again.
Swift
at main
123456789101112131415161718192021222324252627282930313233import ComposableArchitectureimport SwiftUI
struct GlobalCustomCommandsView: View { @Bindable var store: StoreOf<GlobalCustomCommandsFeature>
var body: some View { Form { Section { CustomCommandsEditor( commands: $store.settings.customCommands, source: .global, keybindingUserOverrides: store.keybindingUserOverrides ) } header: { VStack(alignment: .leading, spacing: 4) { Text("Global Custom Commands") Text( """ Global terminal actions available in every repository. \ Enabled commands appear in the top-right of the window toolbar. """ ) .foregroundStyle(.secondary) } } } .formStyle(.grouped) .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .topLeading) .task { store.send(.task) } }}