shellmail 1.0.0 → 1.0.1
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/index.js +9 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29,8 +29,7 @@ program
|
|
|
29
29
|
{
|
|
30
30
|
type: "input",
|
|
31
31
|
name: "local",
|
|
32
|
-
message:
|
|
33
|
-
suffix: chalk.gray("@shellmail.ai"),
|
|
32
|
+
message: `What would you like your address to be?\n ${chalk.gray("_")}${chalk.cyan("@shellmail.ai")}\n ${chalk.gray("Enter name:")}`,
|
|
34
33
|
validate: (input) => {
|
|
35
34
|
if (!input || input.length < 2)
|
|
36
35
|
return "Must be at least 2 characters";
|
|
@@ -83,11 +82,18 @@ program
|
|
|
83
82
|
token: result.token,
|
|
84
83
|
address: result.address,
|
|
85
84
|
});
|
|
86
|
-
console.log(chalk.green("\n✓ Config saved
|
|
85
|
+
console.log(chalk.green("\n✓ Config saved!\n"));
|
|
86
|
+
console.log(chalk.bold("Next steps:\n"));
|
|
87
|
+
console.log(` ${chalk.cyan("shellmail inbox")} Check your inbox`);
|
|
88
|
+
console.log(` ${chalk.cyan("shellmail otp -w 30")} Wait for an OTP code`);
|
|
89
|
+
console.log(` ${chalk.cyan("shellmail status")} Verify setup\n`);
|
|
87
90
|
}
|
|
88
91
|
else {
|
|
89
92
|
console.log(chalk.gray("\nSet SHELLMAIL_TOKEN env var to use the CLI:\n"));
|
|
90
93
|
console.log(chalk.cyan(` export SHELLMAIL_TOKEN="${result.token}"\n`));
|
|
94
|
+
console.log(chalk.bold("Then try:\n"));
|
|
95
|
+
console.log(` ${chalk.cyan("shellmail inbox")} Check your inbox`);
|
|
96
|
+
console.log(` ${chalk.cyan("shellmail otp -w 30")} Wait for an OTP code\n`);
|
|
91
97
|
}
|
|
92
98
|
}
|
|
93
99
|
catch (err) {
|