cli

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const SensitiveInformationOverlay = "********"

SensitiveInformationOverlay is the string used to hide sensitive data

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(b bool) *bool

func CheckMinimumVersion

func CheckMinimumVersion(ctx context.Context, client *api.Client, minimumVersion string) error

CheckMinimumVersion checks if the Coolify API version meets the minimum requirement

func ExactArgs

func ExactArgs(n int, usage string) cobra.PositionalArgs

ExactArgs returns a validator that ensures exactly n arguments are provided with a helpful error message

func GetAPIClient

func GetAPIClient(cmd *cobra.Command) (*api.Client, error)

GetAPIClient creates an API client from command flags or config

func MinArgs

func MinArgs(n int, usage string) cobra.PositionalArgs

MinArgs returns a validator that ensures at least n arguments are provided with a helpful error message

func ParseInt

func ParseInt(s string) (int, error)

ParseInt parses a string to int with better error message

func SplitOwnerRepo

func SplitOwnerRepo(s string) []string

SplitOwnerRepo splits owner/repo string into parts

func StringPtr

func StringPtr(s string) *string

Types

This section is empty.

Jump to

Keyboard shortcuts

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