vdr/cmd/cmd.go
Function createCmd
has 53 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func createCmd() *cobra.Command {
// needs to be initialized for pflags, values will be overwritten with defaults from pflag
var createRequest = api.DIDCreateRequest{
VerificationMethodRelationship: api.VerificationMethodRelationship{
AssertionMethod: new(bool),