permissions

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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

func Cmd() *cobra.Command

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL