feat: added working rendering with plugins
This commit is contained in:
parent
fbdaf218eb
commit
1ebea8cb73
7 changed files with 139 additions and 81 deletions
|
|
@ -112,8 +112,12 @@ var downloadCmd = cobra.Command{
|
|||
},
|
||||
}
|
||||
|
||||
var downloadProfileCmd = &cobra.Command{}
|
||||
var downloadPluginCmd = &cobra.Command{}
|
||||
var downloadProfileCmd = &cobra.Command{
|
||||
Use: "profile",
|
||||
}
|
||||
var downloadPluginCmd = &cobra.Command{
|
||||
Use: "plugin",
|
||||
}
|
||||
|
||||
func init() {
|
||||
downloadCmd.Flags().String("host", "http://localhost:5050", "Set the makeshift remote host (can be set with MAKESHIFT_HOST)")
|
||||
|
|
@ -122,5 +126,7 @@ func init() {
|
|||
downloadCmd.Flags().StringSlice("profiles", []string{}, "Set the profile to use to populate data store")
|
||||
downloadCmd.Flags().StringSlice("plugins", []string{}, "Set the plugins to run before downloading files")
|
||||
|
||||
downloadCmd.AddCommand(downloadProfileCmd, downloadPluginCmd)
|
||||
|
||||
rootCmd.AddCommand(&downloadCmd)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue