cli

package
v0.0.325 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 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 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
app
Package app implements functionality related to reading and writing app configuration files.
Package app implements functionality related to reading and writing app configuration files.
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/agent
Package agent implements the agent command chain.
Package agent implements the agent command chain.
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/builds
Package apps implements the apps command chain.
Package apps implements the apps command chain.
command/curl
Package curl implements the curl command chain.
Package curl implements the curl command chain.
command/dig
Package dig implements the dig command chain.
Package dig implements the dig command chain.
command/docs
Package docs implements the docs command chain.
Package docs implements the docs command chain.
command/doctor
Package doctor implements the doctor command chain.
Package doctor implements the doctor command chain.
command/history
Package history implements the history command chain.
Package history implements the history command chain.
command/logs
Package logs implements the logs command chain.
Package logs implements the logs command chain.
command/platform
Package platform implements the platform command chain.
Package platform implements the platform command chain.
command/root
Package root implements the root command.
Package root implements the root command.
command/services
Package services implements the services command chain.
Package services implements the services command chain.
command/services/postgres
Package postgres implements the postgres command chain.
Package postgres implements the postgres command chain.
command/services/redis
Package redis implements the redis command chain.
Package redis implements the redis command chain.
command/status
Package status implements the status command chain.
Package status implements the status command chain.
command/version
Package version implements the version command chain.
Package version implements the version command chain.
format
Package format implements various formatters.
Package format implements various formatters.
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.
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