cmd

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "sud COMMAND FILE_PATH DIRs...",
	Short: "sud OR solution updater updates solutions by running the command on the file in the given repositories",
	Long: `sud OR solution updater updates solutions by running the command on the file in the given repositories.

Repositories are space separated list of directories or github repository urls.

A repository can be one of the following:
 1. A directory on your file system such as ~/repos/my-solution-dir
 2. A url to github repository such as https://github.com/YextHHChallenges/asbTest
 3. A wildcard such as https://github.com/YextHHChallenges/asbTest* that will be expanded to matched repositories

For example:

sud replace default/km/*.json --value "\"yext/atm\"" --path /primaryEntityType https://github.com/YextHHChallenges/asb* --push

will make the change in the matching files in all the matching repositories and push to github.
`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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