Documentation ¶
Overview ¶
Copyright 2023 The KCL Authors. All rights reserved. This file provides all the flags in the kpm cli.
Index ¶
- Constants
- func CompileOptionFromCli(c *cli.Context) *opt.CompileOptions
- func KpmAdd(c *cli.Context) error
- func KpmPull(c *cli.Context) error
- func KpmPush(c *cli.Context, settings *settings.Settings) error
- func KpmRun(c *cli.Context) error
- func NewAddCmd() *cli.Command
- func NewInitCmd() *cli.Command
- func NewLoginCmd(settings *settings.Settings) *cli.Command
- func NewLogoutCmd(settings *settings.Settings) *cli.Command
- func NewMetadataCmd() *cli.Command
- func NewPkgCmd() *cli.Command
- func NewPullCmd() *cli.Command
- func NewPushCmd(settings *settings.Settings) *cli.Command
- func NewRunCmd() *cli.Command
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_OVERRIDES = "overrides"
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 NewLoginCmd ¶
NewLoginCmd new a Command for `kpm login`.
func NewLogoutCmd ¶
NewLogoutCmd new a Command for `kpm logout`.
func NewMetadataCmd ¶
func NewMetadataCmd() *cli.Command
NewMetadataCmd new a Command for `kpm metadata`.
func NewPushCmd ¶
NewPushCmd new a Command for `kpm push`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.