Documentation
¶
Overview ¶
Package permissions implements the "ctx permissions" command for managing Claude Code permission snapshots.
The permissions package provides subcommands to:
- snapshot: Save settings.local.json as a golden image
- restore: Reset settings.local.json from the golden image
Golden images allow teams to maintain a curated permission baseline and automatically drop session-accumulated permissions at session start.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
Cmd returns the permissions command with subcommands.
The permissions command provides utilities for managing Claude Code permission snapshots:
- snapshot: Save settings.local.json as a golden image
- restore: Reset settings.local.json from the golden image
Returns:
- *cobra.Command: Configured permissions command with subcommands
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.