delete

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package delete implements `bitbottle snippet delete`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDelete

func NewCmdDelete(f *factory.Factory, runF ...func(*Options) error) *cobra.Command

NewCmdDelete constructs the cobra command. The runF override lets tests inject their own runner without standing up a real backend.

Types

type Options

type Options struct {
	Hostname  string
	Workspace string
	ID        string
	Confirm   bool
}

Options carries parsed flags for `snippet delete`.

Jump to

Keyboard shortcuts

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