cli

package
v0.0.0-...-b556d1f Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	// contains filtered or unexported fields
}

CLI represents the command-line interface

func NewCLI

func NewCLI() *CLI

NewCLI creates a new CLI instance

func (*CLI) Execute

func (c *CLI) Execute() error

Execute runs the CLI

type CLIProcessor

type CLIProcessor struct {
	// contains filtered or unexported fields
}

CLIProcessor handles CLI-based encryption and decryption operations

func NewCLIProcessor

func NewCLIProcessor() *CLIProcessor

NewCLIProcessor creates a new CLI processor instance

func (*CLIProcessor) Decrypt

func (p *CLIProcessor) Decrypt(inputFile, outputFile, password string, deleteSource, secureDelete bool) error

Decrypt decrypts a file using CLI parameters

func (*CLIProcessor) Encrypt

func (p *CLIProcessor) Encrypt(inputFile, outputFile, password string, deleteSource, secureDelete bool) error

Encrypt encrypts a file using CLI parameters

Jump to

Keyboard shortcuts

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