cmd

package
v0.0.0-...-647b14e Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0, MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//Simple search looks for any filename witch contains given string. Case insensitive.
	Simple = iota
	//Glob search uses standard globbing wildcards. If you don't use wildcards then you get strict search
	Glob
)
View Source
const DirPerm = 0700

DirPerm is default directory permission

Variables

View Source
var (

	// Done informs user about tast completion
	Done = color.New(color.FgHiGreen, color.Bold).PrintfFunc()
	// Warn user about something. PrintfF
	Warn = color.New(color.FgHiYellow, color.Bold).PrintfFunc()
)
View Source
var RootCmd = &cobra.Command{
	Use:   "kure",
	Short: "A netkan wrapper that helps you maintain private ckan repo",
	Long: `KURE - Kerbal User REpository
	Tool that makes easy to create and mmaintain you private repository of ckan files.`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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