cli

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package cli provides utilities for use in the chronoctl CLI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCommandString

func BuildCommandString(cmd *cobra.Command, ignoreFlags []string) string

BuildCommandString rebuilds the supplied command into a string, flags included. ignoreFlags filters out any flags specified. For example, we can rebuild `chronoctl get dashboards --bucket my-bucket` and filter the api-token flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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