rubixchain / rubixgoplatform

GNU General Public License v3.0
8 stars 17 forks source link

Use of `cobra` package to refactor CLI #172

Open arnabghose997 opened 3 months ago

arnabghose997 commented 3 months ago

Closes #160

NOTE: Must be merged only after PR #190 is merged

This PR intends to refactor the existing CLI by using the cobra CLI Golang package. Refer here for details of cobra package.

Refer here for the CLI documentation

Following are key highlights of this PR:

Comand Reason
setupDID Implemented logic is exactly same as RegisterDID (Refer here)
getTokenBlock No Implementation (Refer here)