unlock

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package unlock implements the ctx recall unlock subcommand.

It removes lock protection from journal entries, allowing export --regenerate to overwrite them again.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the "ctx recall unlock" subcommand.

Removes lock protection from journal entries, allowing export --regenerate to overwrite them again.

Returns:

  • *cobra.Command: Command for unlocking journal entries

func Run

func Run(
	cmd *cobra.Command,
	args []string,
	all bool,
) error

Run delegates to core.RunLockUnlock with lock=false.

Parameters:

  • cmd: Cobra command for output
  • args: Patterns to match against journal filenames
  • all: If true, apply to all journal entries

Returns:

  • error: Non-nil on validation or I/O failure

Types

This section is empty.

Jump to

Keyboard shortcuts

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