AllCommands gets all go/core/user commands.
AllTopics gets all go/core/user topics.
BuildContext builds a context object based on a command and args.
CommandUsage generates the usage for a command.
Debugf is used to print debugging information It will be added to the logfile in ~/.cache/heroku/error.log and stderr if HEROKU_DEBUG is set.
Debugln is used to print debugging information It will be added to the logfile in ~/.cache/heroku/error.log and stderr if HEROKU_DEBUG is set.
DownloadCLI downloads a CLI update to a given path.
Err just calls `fmt.Fprint(Stderr, a...)` but can be mocked out for testing.
Errf just calls `fmt.Fprintf(Stderr, a...)` but can be mocked out for testing.
Errln just calls `fmt.Fprintln(Stderr, a...)` but can be mocked out for testing.
Error shows a message with excalamation points prepended to stderr.
Exit just calls os.Exit, but can be mocked out for testing.
ExitWithMessage shows an error message then exits with status code 2 It does not emit to rollbar.
FileExists returns whether or not path exists.
GetUpdateManifest loads the manifest.json for a channel.
IsUpdateNeeded checks if an update is available.
Log is used to print debugging information It will be added to the logfile in ~/.cache/heroku/error.log or printed out if HEROKU_DEBUG is set.
Logf is used to print debugging information It will be added to the logfile in ~/.cache/heroku/error.log.
LogIfError logs out an error if one arises.
Logln is used to print debugging information It will be added to the logfile in ~/.cache/heroku/error.log.
ParseFlag parses a flag from argument inputs.
Print is used to replace `fmt.Print()` but can be mocked out for testing.
Printf is used to replace `fmt.Printf()` but can be mocked out for testing.
Println is used to replace `fmt.Println()` but can be mocked out for testing.
RubyPlugins lists all the ruby plugins.
ShowCursor displays the cursor.
ShowDebugInfo prints debugging information if HEROKU_DEBUG=1.
ShowVersion shows the version and exits.
Start the CLI.
SubmitAnalytics sends the analytics info to the analytics service.
TriggerBackgroundUpdate will trigger an update to the client in the background.
Update updates the CLI and plugins.
Warn shows a message with excalamation points prepended to stderr.
WarnIfError is a helper that prints out formatted error messages it will emit to rollbar it does not exit.