Documentation ¶
Index ¶
- Constants
- Variables
- func Execute()
- func FormatVersion(version string, buildDate string, revision string) string
- func NewCmdAuth() *cobra.Command
- func NewCmdCompletion() *cobra.Command
- func NewCmdDiscover() *cobra.Command
- func NewCmdHistory() *cobra.Command
- func NewCmdRoot() *cobra.Command
- func NewCmdScan(rootCmd *cobra.Command) *cobra.Command
- func NewCmdUpdate() *cobra.Command
- func NewCmdVersion() *cobra.Command
- func NewCmdWorkflow() *cobra.Command
- func NewHelpTopic(topic string) *cobra.Command
- type Choice
- type HistoryOptions
- type UpdateOptions
- type WorkflowOptions
Constants ¶
View Source
const ClearPreviousLine = "\033[1A\033[K"
View Source
const ResetLine = "\r\033[K"
Variables ¶
View Source
var HelpTopics = map[string]map[string]string{
"environment": {
"short": "Environment variables that can be used with reliably",
"long": heredoc.Doc(`
{{bold "RELIABLY_HOST:"}} specify the Reliably hostname for commands making API requests
that would otherwise assume the "reliably.com" host.
{{bold "RELIABLY_TOKEN:"}} an authentication token for reliably.com API requests. Setting
this avoids to login and takes precedence over previously stored credentials.
{{bold "RELIABLY_ORG:"}} an organization identifier for the active organization. Setting
this takes precedence over previously stored current organization.
{{bold "RELIABLY_NO_UPDATE_NOTIFIER:"}} set to any value to disable update notifications.
By default, reliably checks for new releases once every 24 hours and displays
an upgrade notice on standard error if a newer version was found.
{{bold "NO_COLOR:"}} set to any value to avoid printing ANSI escape sequences for color
output.
{{bold "DEBUG:"}} set to any value to enable verbose output.
`),
},
}
Functions ¶
func FormatVersion ¶
FormatVersion returns a formatted string with Reliably CLI's version
func NewCmdAuth ¶
func NewCmdCompletion ¶
func NewCmdDiscover ¶
func NewCmdHistory ¶
func NewCmdRoot ¶
func NewCmdUpdate ¶ added in v0.16.0
func NewCmdVersion ¶
func NewCmdWorkflow ¶
func NewHelpTopic ¶
Types ¶
type HistoryOptions ¶
type UpdateOptions ¶ added in v0.16.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.