cmd

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package cmd contains shared command-line types that are imported by bcli subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Globals

type Globals struct {
	ConfigFile string `short:"c" default:"~/.config/bcli/${command_name}.yaml" type:"path" completion:"<file>" help:"Path to the config file"`

	LogLevel *zerolog.Level   `short:"l" help:"Log level"`
	Version  kong.VersionFlag `short:"v" help:"Output version"`
}

Globals defines root-level flags that are injected into command handlers.

Directories

Path Synopsis
Package main defines the bcli command-line interface.
Package main defines the bcli command-line interface.
completion
Package completion implements shell completion commands for bcli.
Package completion implements shell completion commands for bcli.
config
Package config implements the bcli config subcommand.
Package config implements the bcli config subcommand.
create
Package create implements the bcli create subcommand.
Package create implements the bcli create subcommand.
Package main defines the bcli-mcp command-line interface.
Package main defines the bcli-mcp command-line interface.

Jump to

Keyboard shortcuts

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