cmd

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 20 Imported by: 2

Documentation

Index

Constants

View Source
const FLAG_ARGUMENT = "argument"
View Source
const FLAG_DISABLE_NONE = "disable_none"
View Source
const FLAG_INPUT = "input"
View Source
const FLAG_NO_SUM_CHECK = "no_sum_check"
View Source
const FLAG_OVERRIDES = "overrides"
View Source
const FLAG_QUIET = "quiet"
View Source
const FLAG_SETTING = "setting"
View Source
const FLAG_SORT_KEYS = "sort_keys"
View Source
const FLAG_TAG = "tag"
View Source
const FLAG_TAR_PATH = "tar_path"
View Source
const FLAG_UPDATE = "update"
View Source
const FLAG_VENDOR = "vendor"

Variables

This section is empty.

Functions

func CompileOptionFromCli added in v0.3.4

func CompileOptionFromCli(c *cli.Context) *opt.CompileOptions

CompileOptionFromCli will parse the kcl options from the cli context.

func KpmAdd added in v0.3.3

func KpmAdd(c *cli.Context, kpmcli *client.KpmClient) error

func KpmGraph added in v0.8.0

func KpmGraph(c *cli.Context, kpmcli *client.KpmClient) error

func KpmPull added in v0.3.2

func KpmPull(c *cli.Context, kpmcli *client.KpmClient) error

func KpmPush added in v0.3.4

func KpmPush(c *cli.Context, kpmcli *client.KpmClient) error

func KpmRun added in v0.3.4

func KpmRun(c *cli.Context, kpmcli *client.KpmClient) error

func KpmUpdate added in v0.4.0

func KpmUpdate(c *cli.Context, kpmcli *client.KpmClient) error

func NewAddCmd

func NewAddCmd(kpmcli *client.KpmClient) *cli.Command

NewAddCmd new a Command for `kpm add`.

func NewGraphCmd added in v0.8.0

func NewGraphCmd(kpmcli *client.KpmClient) *cli.Command

NewGraphCmd new a Command for `kpm graph`.

func NewImportCmd added in v0.3.7

func NewImportCmd(kpmcli *client.KpmClient) *cli.Command

NewImportCmd new a Command for `kpm import`.

func NewInitCmd

func NewInitCmd(kpmcli *client.KpmClient) *cli.Command

NewInitCmd new a Command for `kpm init`.

func NewLoginCmd

func NewLoginCmd(kpmcli *client.KpmClient) *cli.Command

NewLoginCmd new a Command for `kpm login`.

func NewLogoutCmd

func NewLogoutCmd(kpmcli *client.KpmClient) *cli.Command

NewLogoutCmd new a Command for `kpm logout`.

func NewMetadataCmd

func NewMetadataCmd(kpmcli *client.KpmClient) *cli.Command

NewMetadataCmd new a Command for `kpm metadata`.

func NewPkgCmd

func NewPkgCmd(kpmcli *client.KpmClient) *cli.Command

NewPkgCmd new a Command for `kpm pkg`.

func NewPullCmd

func NewPullCmd(kpmcli *client.KpmClient) *cli.Command

NewPullCmd new a Command for `kpm pull`.

func NewPushCmd

func NewPushCmd(kpmcli *client.KpmClient) *cli.Command

NewPushCmd new a Command for `kpm push`.

func NewRunCmd

func NewRunCmd(kpmcli *client.KpmClient) *cli.Command

NewRunCmd new a Command for `kpm run`.

func NewUpdateCmd added in v0.4.0

func NewUpdateCmd(kpmcli *client.KpmClient) *cli.Command

NewUpdateCmd new a Command for `kpm update`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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