Comparing version 3.0.8 to 3.1.0
@@ -16,2 +16,3 @@ 'use strict'; | ||
require('./commands/run'); | ||
require('./commands/init'); | ||
@@ -18,0 +19,0 @@ cli.command('projects', 'Project management'); |
@@ -45,9 +45,11 @@ 'use strict'; | ||
} | ||
if(session.email) { | ||
this.config.email = session.email; | ||
if(session) { | ||
if(session.email) { | ||
this.config.email = session.email; | ||
} | ||
this.config.expiration_date = session.expiration_date; | ||
this.config.access_token = session.access_token; | ||
this.config.refresh_token = session.refresh_token; | ||
this.config.project_tokens = session.project_tokens; | ||
} | ||
this.config.expiration_date = session.expiration_date; | ||
this.config.access_token = session.access_token; | ||
this.config.refresh_token = session.refresh_token; | ||
this.config.project_tokens = session.project_tokens; | ||
this.config.saveSync(this.settingFile); | ||
@@ -54,0 +56,0 @@ return this; |
@@ -9,3 +9,3 @@ { | ||
"description": "Command line utility to download and upload 28.io queries.", | ||
"version": "3.0.8", | ||
"version": "3.1.0", | ||
"keywords": [ | ||
@@ -12,0 +12,0 @@ "jsoniq", |
@@ -108,2 +108,10 @@ #28.io CLI | ||
# Using the CLI on premise | ||
In order to use the 28 CLI against an 28msec instance installed on premise, simply run the following command where `/path/to/cellstore/docker-config.json` is the path of the cellstore configuration file: | ||
```bash | ||
$28 init </path/to/cellstore/docker-config.json> | ||
``` | ||
## Settings | ||
@@ -110,0 +118,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
422435
36
1274
173
6