We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28f730b commit 59780efCopy full SHA for 59780ef
packages/cli/src/cli.ts
@@ -5,8 +5,10 @@ let args = [];
5
if (process.argv.slice(2).length === 0) {
6
intro(`Welcome to the Nizzy CLI`);
7
8
+ const user = process.env.USER || process.env.USERNAME || 'there';
9
+
10
const command = await select({
- message: `Hey ${process.env.USER}, what do you want to do?`,
11
+ message: `Hey ${user}, what do you want to do?`,
12
options: Object.values(commands).map((command) => ({
13
label: command.description,
14
value: command.id,
0 commit comments