package
1.0.65
Repository: https://github.com/freedge/gomeme.git
Documentation: pkg.go.dev

# Packages

Package config contain command to retrieve the server configuration.
Package curl defines the curl command gomeme does not provide everything, so in last resort one can still call the API by hand through curl.
Package deploy call the deploy API.
Package job defines commands to list, order and modify jobs.
Package login defines the login command that retrieves a token and save it into a file.
Package qr accesses Quantitative Resources.
Package secret contains a few commands to handle secrets.

# Functions

AddCommand register a new command to be parsed.
AddIfNotEmpty is a convenient method to add in a map if value is not empty.
GetDefaultDescriptionAnnotation returns the default description annotation sent.
ReadTokens sets tokens from tokenfile.
RequiresAnnotation mandates the annotation for that command.
WriteTokensFile writes a file containing tokens.

# Variables

Opts is the list of default opts.
Parser defines all the commands.
Tokens to use to connect to the endpoint.

# Structs

DefaultOpts are the common options for every command.

# Interfaces

Command is implemented by all our commands.