cli

package
v0.0.259 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package cli implements the command line interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, io *iostreams.IOStreams, args ...string) int

Run runs the command line interface with the given arguments and reports the exit code the application should exit with.

Types

This section is empty.

Directories

Path Synopsis
internal
cache
Package cache implements accessing of the state.yml file.
Package cache implements accessing of the state.yml file.
command
Package command implements helpers useful for when building cobra commands.
Package command implements helpers useful for when building cobra commands.
command/apps
Package apps implements the apps command chain.
Package apps implements the apps command chain.
command/root
Package root implements the root command.
Package root implements the root command.
command/version
Package version implements the version command chain.
Package version implements the version command chain.
flag
Package flag implements flag-related functionality.
Package flag implements flag-related functionality.
prompt
Package prompt implements input-related functionality.
Package prompt implements input-related functionality.
sort
Package sort implements common sorting functions.
Package sort implements common sorting functions.
state
Package state implements setters and getters for command contexts.
Package state implements setters and getters for command contexts.
task
Package task implements async task handling.
Package task implements async task handling.

Jump to

Keyboard shortcuts

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