nodb-cli v1.0.2
nodb-cli
Version 1.0.3
nodb-cli provides command-line interface that can be used to access to our system
Installation
npm install -g nodb-cli
Commands:
nodb login
nodb register
nodb activate
- nodb login
It's a command to login in Nodb system. Params: username.
$nodb login
$username? xxxx
You will receive verification code in your registered email. You need to put in terminal with it.
$Please type your verification code? xxxxx
If your code is correct, you will receive tokens.
- nodb register
It's a command to register in Nodb system Params: email, username
$nodb register
$Email? example@mail.com
$Username? xxxxxx
You will receive verification code in your above email if you put email, username correctly.
$Please type your verification code? xxxxx
Then, you need to put it in terminal. At this point you will see terms and privacy agree prompt
$Do you agree our Terms and Privacy?
*Yes
*No
If Yes, you will receive registration success email If No, your account will be inactive status
-nodb activate
It's a command to activate an account Params: username
$nodb activate
$Username? xxxx
If your username is correct, you will see terms and privacy agree prompt If you choose Yes, your account will be activated. If your username is incorrect, your will receive failed message.
No user exist with this username!
NOTE:
If you got success result with login command, .nodb folder will be created below path in your machine
C:/Users/your username/.nodb
And access token, refresh token, id token will be stored there same as aws credentials Then when you call api with curl, token will be added automatically in your request header