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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.