Carson Reinke's Headshot

Carson Reinke's (🚗☀☔🔑) Blog

Object default values display JSON under help menu · Issue #1283 · tj/commander.js · GitHub

Object default values display JSON under help menu · Issue #1283 · tj/commander.js · GitHub

Using an any object as the default value displays a JSON version of that object. This might not be very user friendly. Here is an example using IPv4 from ip-num package: (default: {"bitSize":32,"maximumBitSize":"4294967295","type":1,"oct...

link