convert

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdConvert

func NewCmdConvert(cli *cli.CLI, runF func(*Options) error) *cobra.Command

NewCmdConvert creates a new cobra.Command for the convert subcommand.

Types

type Options

type Options struct {
	IO             *iostreams.IOStreams
	KittyCADClient func(string) (*kittycad.Client, error)
	Context        context.Context

	// Flag options.
	InputFileArg  string
	InputFormat   string
	InputFileBody []byte
	OutputFormat  string
	OutputFile    string
}

Options defines the options of the `file convert` command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL