NewJSONPathPrintFlags returns flags associated with --template printing, with default values set.
()
| 121 | // NewJSONPathPrintFlags returns flags associated with |
| 122 | // --template printing, with default values set. |
| 123 | func NewJSONPathPrintFlags() *JSONPathPrintFlags { |
| 124 | allowMissingKeysPtr := true |
| 125 | templateArgPtr := "" |
| 126 | |
| 127 | return &JSONPathPrintFlags{ |
| 128 | TemplateArgument: &templateArgPtr, |
| 129 | AllowMissingKeys: &allowMissingKeysPtr, |
| 130 | } |
| 131 | } |