Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

[cli] Newline after full log output and skip newline before help output #3259

Merged
merged 1 commit into from
Feb 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/expo-cli/src/commands/start/TerminalUI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type StartOptions = {
};

const printHelp = (): void => {
logCommandsTable([[], ['?', 'show all commands']]);
logCommandsTable([['?', 'show all commands']]);
};

const div = chalk.dim(`│`);
Expand Down Expand Up @@ -79,6 +79,7 @@ const printUsageAsync = async (
['d', `open developer tools`],
['shift+d', `toggle auto opening developer tools on startup`, currentToggle],
!options.webOnly && ['e', `share the app link by email`],
[],
]);
};

Expand All @@ -96,6 +97,7 @@ const printBasicUsageAsync = async (options: Pick<StartOptions, 'webOnly'> = {})
['d', `open developer tools`],
['shift+d', `toggle auto opening developer tools on startup`, currentToggle],
!options.webOnly && ['e', `share the app link by email`],
[],
]);
};

Expand Down