pad

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: 10 Imported by: 0

Documentation

Overview

Package pad implements the "ctx pad" command for managing an encrypted scratchpad.

The scratchpad stores short, sensitive one-liners that travel with the project via git but remain opaque at rest. Entries are encrypted with AES-256-GCM using a symmetric key at .context/.scratchpad.key.

A plaintext fallback (.context/scratchpad.md) is available via the scratchpad_encrypt config option in .contextrc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the pad command with subcommands.

When invoked without a subcommand, it lists all scratchpad entries.

Returns:

  • *cobra.Command: Configured pad 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