Skip to main content

Module permissions

Module permissions 

Source
Expand description

Shared CLI plumbing for the staged-commit permissions workflow.

Each service’s clap tree pulls in StagingAction as an enum variant and forwards matched subcommands to the generic dispatchers here. The per-service CLI stays tiny — it knows its service type (PermissionsService impl) and lets the shared code handle mutation parsing, staging, signing, and JSON formatting.

Structs§

ContentMutationArgs
PatternMutationArgs
ScopeArgs
TimeMutationArgs

Enums§

CliListKind
ContentAction
StagingAction
Staging-workflow subcommands common to every permissions-bearing service. Each service embeds this under its permissions subgroup.
TimeAction

Functions§

run
Entry point a service’s CLI module calls after matching the shared subcommand.