Code to generate structs for JSON marshalling

This commit is contained in:
Kovid Goyal
2022-08-17 21:57:02 +05:30
parent 0aa1bacbe7
commit 47feb73cdf
38 changed files with 89 additions and 39 deletions

View File

@@ -18,6 +18,12 @@ type options_CMD_NAME_type struct {
var options_CMD_NAME options_CMD_NAME_type
type CMD_NAME_json_type struct {
JSON_DECLARATION_CODE
}
var CMD_NAME_json CMD_NAME_json_type
func run_CMD_NAME(cmd *cobra.Command, args []string) (err error) {
SET_OPTION_VALUES_CODE