feat: added working rendering with plugins

This commit is contained in:
David Allen 2025-08-26 22:11:17 -06:00
parent fbdaf218eb
commit 1ebea8cb73
Signed by: towk
GPG key ID: 0430CDBE22619155
7 changed files with 139 additions and 81 deletions

View file

@ -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)
}