Skip to content
This repository was archived by the owner on Jul 28, 2021. It is now read-only.

Commit a33cca1

Browse files
alopezsanchezzkat
authored andcommitted
feat(profile): add profile subcommands (#28)
* feat(tink): add `tink profile` command * feat(profile): add `listTokens` subcommand * feat(profile): add `create-token` subcommand * feat(profile): add `remove-token` subcommand * feat(profile): add `get` subcommand * lint(profile): delete semicolons * feat(profile): add `set` subcommand TODO: OTP code, TFA * fix(create-token): add OTP support * fix(profile set): add OTP support * feat(profile set): add `disable-2fa` subcommand * feat(profile set): add `enable-2fa` subcommand * fix(profile get): improve tfa information * fix(profile set password): fix `--json` output * lint(profile): remove TODO comment * feat(profile enable-2fa): use `querystring` built-in module instead of `query-string`
1 parent 59202f0 commit a33cca1

File tree

8 files changed

+474
-19
lines changed

8 files changed

+474
-19
lines changed

bin/tink.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const CMDS = new Map([
99
['org', require('../lib/commands/org.jsx')],
1010
['ping', require('../lib/commands/ping.js')],
1111
['prepare', require('../lib/commands/prepare.js')],
12+
['profile', require('../lib/commands/profile.jsx')],
1213
['rm', require('../lib/commands/rm.js')],
1314
['shell', require('../lib/commands/shell.js')],
1415
['team', require('../lib/commands/team.js')],

0 commit comments

Comments
 (0)