Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKittyCADClient ¶
NewKittyCADClient returns an API client for kittycad.io only that borrows from but does not depend on user configuration. TODO: if they are in debug mode, we should set debug mode in the client library.
Types ¶
type CLI ¶
type CLI struct {
IOStreams *iostreams.IOStreams
Browser Browser
Context context.Context
KittyCADClient func(string) (*kittycad.Client, error)
Config func() (config.Config, error)
// Executable is the path to the currently invoked kittycad binary
Executable func() string
}
CLI is the main type for the kittycad command line interface.
Click to show internal directories.
Click to hide internal directories.