any-valued command-line argument group that JSON.parse's
any
JSON.parse
For example, suppose our CLI has a CCliJsonArgGroup for its positionalArgGroup. Here's how that behaves:
CCliJsonArgGroup
positionalArgGroup
$ cli '{"foo":true}' // named value receives object `{ foo: true }` $ cli // usage error $ cli '""' '""' // usage error $ cli foo // error parsing JSON
Experimental support for autocompletion. Optionally implemented by subclass.
CCliJsonArgGroup factory function
Generated using TypeDoc and MonoLisa
any
-valued command-line argument group thatJSON.parse
'sFor example, suppose our CLI has a
CCliJsonArgGroup
for itspositionalArgGroup
. Here's how that behaves: