subto 9.0.6 → 9.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package/index.js +2 -2
- package/index.js +2 -2
- package/package.json +1 -1
package/dist/package/index.js
CHANGED
|
@@ -11,7 +11,7 @@ const chalk = (_chalk && _chalk.default) ? _chalk.default : _chalk;
|
|
|
11
11
|
const CONFIG_DIR = path.join(os.homedir(), '.subto');
|
|
12
12
|
const CONFIG_PATH = path.join(CONFIG_DIR, 'config.json');
|
|
13
13
|
const DEFAULT_API_BASE = 'https://subto.one';
|
|
14
|
-
const CLIENT_META = { name: 'subto-cli', version: '9.0.
|
|
14
|
+
const CLIENT_META = { name: 'subto-cli', version: '9.0.6' };
|
|
15
15
|
|
|
16
16
|
function configFilePath() { return CONFIG_PATH; }
|
|
17
17
|
|
|
@@ -167,7 +167,7 @@ function printAccountSummary(payload) {
|
|
|
167
167
|
|
|
168
168
|
async function run(argv) {
|
|
169
169
|
const program = new Command();
|
|
170
|
-
program.name('subto').description('Subto CLI — wrapper around Subto.One API').version(CLIENT_META.version || '9.0.
|
|
170
|
+
program.name('subto').description('Subto CLI — wrapper around Subto.One API').version(CLIENT_META.version || '9.0.6');
|
|
171
171
|
|
|
172
172
|
program.command('login').description('Store your API key in ~/.subto/config.json').action(async () => {
|
|
173
173
|
try {
|
package/index.js
CHANGED
|
@@ -11,7 +11,7 @@ const chalk = (_chalk && _chalk.default) ? _chalk.default : _chalk;
|
|
|
11
11
|
const CONFIG_DIR = path.join(os.homedir(), '.subto');
|
|
12
12
|
const CONFIG_PATH = path.join(CONFIG_DIR, 'config.json');
|
|
13
13
|
const DEFAULT_API_BASE = 'https://subto.one/api/v1';
|
|
14
|
-
const CLIENT_META = { name: 'subto-cli', version: '9.0.
|
|
14
|
+
const CLIENT_META = { name: 'subto-cli', version: '9.0.6' };
|
|
15
15
|
const cp = require('child_process');
|
|
16
16
|
|
|
17
17
|
// Normalize SUBTO API base so callers can set either
|
|
@@ -620,7 +620,7 @@ async function startChatREPL(scanData){
|
|
|
620
620
|
|
|
621
621
|
async function run(argv) {
|
|
622
622
|
const program = new Command();
|
|
623
|
-
program.name('subto').description('Subto CLI — wrapper around Subto.One API').version(CLIENT_META.version || '9.0.
|
|
623
|
+
program.name('subto').description('Subto CLI — wrapper around Subto.One API').version(CLIENT_META.version || '9.0.6');
|
|
624
624
|
program.addHelpText('after', `
|
|
625
625
|
|
|
626
626
|
Common commands:
|