xref: /expo/packages/@expo/cli/src/run/hints.ts (revision d2dcff5d)
1import chalk from 'chalk';
2
3import { Log } from '../log';
4import { isInteractive } from '../utils/interactive';
5
6/** Log the device argument to use for the next run: `Using --device foobar` */
7export function logDeviceArgument(id: string) {
8  Log.log(chalk.dim`› Using --device ${id}`);
9}
10
11export function logProjectLogsLocation() {
12  Log.log(
13    chalk`\n› Logs for your project will appear below.${
14      isInteractive() ? chalk.dim(` Press Ctrl+C to exit.`) : ''
15    }`
16  );
17}
18