cli

package
v0.0.269-dev-branch-re... Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 12 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 NewRootCommand added in v0.0.269

func NewRootCommand() *cobra.Command

TODO: remove this once generation of the docs has been refactored.

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/auth
Package auth implements the auth command chain.
Package auth implements the auth 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