@respan/cli 0.3.2 → 0.3.3
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/commands/auth/login.js +2 -2
- package/oclif.manifest.json +426 -426
- package/package.json +5 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Flags } from '@oclif/core';
|
|
2
|
-
import { select,
|
|
2
|
+
import { select, input } from '@inquirer/prompts';
|
|
3
3
|
import * as http from 'node:http';
|
|
4
4
|
import * as open from 'node:child_process';
|
|
5
5
|
import { BaseCommand } from '../../lib/base-command.js';
|
|
@@ -118,7 +118,7 @@ class AuthLogin extends BaseCommand {
|
|
|
118
118
|
],
|
|
119
119
|
});
|
|
120
120
|
if (method === 'api_key') {
|
|
121
|
-
const apiKey = await
|
|
121
|
+
const apiKey = await input({ message: 'Enter your Respan API key:' });
|
|
122
122
|
setCredential(profile, { type: 'api_key', apiKey, baseUrl });
|
|
123
123
|
await printLoginSuccess(undefined, profile);
|
|
124
124
|
return;
|