Skip to content

Commit

Permalink
feat: Add JWT output for credential.ts and sdr.ts in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
rado0x54 committed Mar 12, 2020
1 parent 565668b commit c16dea6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/daf-cli/src/credential.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ program

if (cmd.qrcode) {
qrcode.generate(jwt)
} else {
console.log(`jwt: ${jwt}`)
}
})

Expand Down Expand Up @@ -228,6 +230,8 @@ program

if (cmd.qrcode) {
qrcode.generate(jwt)
} else {
console.log(`jwt: ${jwt}`)
}
}
})
2 changes: 2 additions & 0 deletions packages/daf-cli/src/sdr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,7 @@ program

if (cmd.qrcode) {
qrcode.generate(jwt)
} else {
console.log(`jwt: ${jwt}`)
}
})

0 comments on commit c16dea6

Please sign in to comment.