Sha256: 924e31c677ba65aed8a28a16b44f51f9b31e627cdc56a79de868639284c96551
Contents?: true
Size: 1.43 KB
Versions: 2
Compression:
Stored size: 1.43 KB
Contents
{ "category_key": "misc", "cmdlets": [ { "name": "safe", "aliases": [ ], "description": "pass through the value with <> and single and double quotes left as is", "result": "the value with <> and single and double quotes left as is", "category": "misc", "category_description": "Miscellaneous cmdlets", "base_class_require": null, "base_class": null, "parameters": [ { "name": "value", "description": "value to pass through", "splat": null, "default": null, "param_type": "String|Int" } ], "examples": [ ], "ruby": " value = '' if value.nil?\n value\n" }, { "name": "format_json", "aliases": [ ], "description": "FormatJson will take an object and write it out as pretty JSON", "result": "value as pretty JSON string", "category": "misc", "category_description": "Miscellaneous cmdlets", "base_class_require": null, "base_class": null, "parameters": [ { "name": "value", "description": "object to be converted to JSON string", "splat": null, "default": null, "param_type": "Object" } ], "examples": [ ], "ruby": " return '{}' if value.nil?\n\n value = JSON.pretty_generate(value)\n\n value\n" } ] }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cmdlet-0.12.2 | .builders/data/cmdlets/misc.json |
cmdlet-0.11.0 | .builders/data/cmdlets/misc.json |