Documentation ¶
Index ¶
- Constants
- Variables
- type Command
- func (c *Command) HelpText() string
- func (c *Command) Main(ctx context.Context, pwd string, args []string) error
- func (c *Command) Name() string
- func (c *Command) ParseFlags(args []string) (*flag.FlagSet, error)
- func (c *Command) SetClient(client *http.Client)
- func (c *Command) SetIO(stderr io.Writer, stdout io.Writer, stdin io.Reader)
- func (s *Command) WithRevisionFinder(finder func(string) (string, error))
Constants ¶
View Source
const ( DepbotApiKey = "DEPBOT_API_KEY" DepbotServerAddr = "DEPBOT_SERVER_ADDR" )
Variables ¶
View Source
var ( // ErrorMissingApiKey is an error that will be returned if the API key is missing ErrorMissingApiKey error = fmt.Errorf("missing api key") // ErrorNoSyncDep is an error that will be returned if the dependencies could not be synchronized ErrorNoSyncDep error = fmt.Errorf("could not sync the dependencies") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.