cmdutil

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ApplicationURL = "https://app.planetscaledb.io"

Variables

View Source
var IsTTY = isatty.IsTerminal(os.Stdout.Fd()) || isatty.IsCygwinTerminal(os.Stdout.Fd())

Functions

func Bold

func Bold(msg string) string

Bold returns a string formatted with bold.

func BoldBlue

func BoldBlue(msg string) string

BoldBlue returns a string formatted with blue and bold.

func Emoji added in v0.3.0

func Emoji(emoji string) string

func OpenBrowser

func OpenBrowser(goos, url string) *exec.Cmd

OpenBrowser opens a web browser at the specified url.

func PrintProgress

func PrintProgress(message string) func()

PrintProgress starts a spinner with the relevant message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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