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

docs(profile): add profile documentation to README #44

Open
wants to merge 1 commit into
base: latest
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,3 +302,19 @@ browser window.

Use this command to remove any auth tokens for the current registry from your
configuration.

##### <a name="tink-profile"></a> `$ tink profile`

Use this command to fetching and updating your npm profile.

* Aliases: `tink p`

###### Subcommands:
* `tink profile get [<property>] [options]`: display one or more properties of the authenticated user profile.
* `tink profile set <property> <value> [options]`: update profile information for the authenticated user.
* `tink profile set password [options]`: update the password of the authenticated user.
* `tink profile disable-2fa [options]`: disable two-factor authentication for the authenticated user.
* `tink profile enable-2fa [options]`: enable two-factor authentication for the authenticated user.
* `tink profile create-token [options]`: create a new authentication token, possibly with restrictions.
* `tink profile remove-token <token|key> [options]`: remove a specific authentication token. Aliases: `revoke-token`, `rm`.
* `tink profile list-tokens [options]`: fetch a list of all the authentication tokens the authenticated user has. Alias: `lt`.