Documentation ¶
Index ¶
- Constants
- func AddCompletionCmd(rootCmd *cobra.Command, appCtx context.LauncherContext)
- func AddConfigCmd(rootCmd *cobra.Command, appCtx context.LauncherContext)
- func AddLoginCmd(rootCmd *cobra.Command, appCtx context.LauncherContext, ...)
- func AddPackageCmd(rootCmd *cobra.Command, appCtx context.LauncherContext)
- func AddRemoteCmd(rootCmd *cobra.Command, appCtx context.LauncherContext, back backend.Backend)
- func AddRenameCmd(rootCmd *cobra.Command, appCtx context.LauncherContext, back backend.Backend)
- func AddUpdateCmd(rootCmd *cobra.Command, appCtx context.LauncherContext, ...)
- func AddVersionCmd(rootCmd *cobra.Command, appCtx context.LauncherContext)
- func Execute()
- func InitCommands(appName string, appLongName string, version string, buildNum string)
- type ConfigFlags
- type LoginFlags
- type PackageFlags
- type RenameFlags
- type UpdateFlags
Constants ¶
View Source
const (
EXECUTABLE_NOT_DEFINED = "Executable not defined"
)
Variables ¶
This section is empty.
Functions ¶
func AddCompletionCmd ¶
func AddCompletionCmd(rootCmd *cobra.Command, appCtx context.LauncherContext)
func AddConfigCmd ¶
func AddConfigCmd(rootCmd *cobra.Command, appCtx context.LauncherContext)
func AddLoginCmd ¶
func AddPackageCmd ¶
func AddPackageCmd(rootCmd *cobra.Command, appCtx context.LauncherContext)
func AddRemoteCmd ¶
func AddRenameCmd ¶
func AddUpdateCmd ¶
func AddUpdateCmd(rootCmd *cobra.Command, appCtx context.LauncherContext, localRepo repository.PackageRepository)
func AddVersionCmd ¶
func AddVersionCmd(rootCmd *cobra.Command, appCtx context.LauncherContext)
Types ¶
type ConfigFlags ¶
type ConfigFlags struct {
Json bool
}
type LoginFlags ¶
type LoginFlags struct {
// contains filtered or unexported fields
}
type PackageFlags ¶
type PackageFlags struct {
// contains filtered or unexported fields
}
type RenameFlags ¶
type RenameFlags struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.