TBD54566975 / web5-go

Apache License 2.0
7 stars 6 forks source link

Add command line args for DID creation output (indentation & save to a file) #64

Open KendallWeihe opened 4 months ago

KendallWeihe commented 4 months ago

We can run web5 did:jwk create and it'll print the Portable DID to the terminal window

Add two new command line args:

Where the former will print it out without the indentation (may be useful for copy/paste DX situations) and the latter will create the DID and save it to a JSON file, without printing it out (write a log message to the user informing them the file has been written successfully at the location).

KendallWeihe commented 4 months ago

Oh and that may not be the proper Kong syntax for the command line args, so match whatever convention is proper

KendallWeihe commented 4 months ago

FYI the DID creation command line arg structure slightly changed here https://github.com/TBD54566975/web5-go/pull/84