Documentation
¶
Overview ¶
Package permission implements the "ctx permission" command for managing Claude Code permission snapshots.
The permission 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 permission command with subcommands.
The permission 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 permission command with subcommands
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
restore
Package restore implements the ctx permission restore subcommand.
|
Package restore implements the ctx permission restore subcommand. |
|
snapshot
Package snapshot implements the ctx permission snapshot subcommand.
|
Package snapshot implements the ctx permission snapshot subcommand. |
|
Package core provides shared helpers used by permissions subcommand packages.
|
Package core provides shared helpers used by permissions subcommand packages. |
Click to show internal directories.
Click to hide internal directories.