Services.Approvals.Shell (fnord v0.8.83)
View SourceSummary
Functions
Delegate to the pure prefix extraction logic.
Returns a sorted, de-duplicated list of user-configured prefix approvals for shell commands (kind: "shell") across both global and project scopes.
Returns a sorted, de-duplicated list of user-configured full-command regex approvals for shell commands (kind: "shell_full") across both global and project scopes.
Types
@type decision() :: Services.Approvals.Workflow.decision()
@type state() :: Services.Approvals.Workflow.state()
Functions
Delegate to the pure prefix extraction logic.
@spec list_user_prefixes() :: [String.t()]
Returns a sorted, de-duplicated list of user-configured prefix approvals for shell commands (kind: "shell") across both global and project scopes.
@spec list_user_regexes() :: [String.t()]
Returns a sorted, de-duplicated list of user-configured full-command regex approvals for shell commands (kind: "shell_full") across both global and project scopes.