view

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

Documentation

Overview

Package view implements `bitbottle user view`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdView

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

NewCmdView constructs the cobra command. The runF parameter follows the gh-style override pattern: tests inject their own runner; production passes nil and gets the default viewRun.

Types

type Options

type Options struct {
	Output   format.OutputConfig
	Hostname string
}

Options carries parsed flags for `user view`.

Jump to

Keyboard shortcuts

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