peakurl 1.0.2 → 1.0.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/bin/peakurl.js +2 -2
- package/package.json +1 -1
package/bin/peakurl.js
CHANGED
|
@@ -2355,7 +2355,7 @@ async function login(options) {
|
|
|
2355
2355
|
successLine(`Saved credentials for ${credentials.apiBaseUrl}.`)
|
|
2356
2356
|
);
|
|
2357
2357
|
writeStdout(`Authenticated as ${userLabel(response.data)}`);
|
|
2358
|
-
writeStdout(userTable(response.data));
|
|
2358
|
+
writeStdout(userTable(response.data, credentials.apiBaseUrl));
|
|
2359
2359
|
}
|
|
2360
2360
|
|
|
2361
2361
|
// src/commands/logout.ts
|
|
@@ -2595,7 +2595,7 @@ function getRetryCommandName(argv) {
|
|
|
2595
2595
|
async function main() {
|
|
2596
2596
|
const program = new Command();
|
|
2597
2597
|
const version = await getCliVersion();
|
|
2598
|
-
program.name("peakurl").description("Manage your PeakURL site from the terminal.").helpOption("-h, --help", "Show help").helpCommand("help [command]", "Show help for a command").version(version, "-
|
|
2598
|
+
program.name("peakurl").description("Manage your PeakURL site from the terminal.").helpOption("-h, --help", "Show help").helpCommand("help [command]", "Show help for a command").version(version, "-v, --version", "Show CLI version").showHelpAfterError().showSuggestionAfterError().addHelpText(
|
|
2599
2599
|
"after",
|
|
2600
2600
|
`
|
|
2601
2601
|
Get Started:
|