From 030fa39b7b0d0e08f2e627ae14d406f19c110b59 Mon Sep 17 00:00:00 2001 From: Taylor Phillips Date: Thu, 22 Feb 2024 20:49:40 -0600 Subject: [PATCH] Add link to cribsheet in the console output --- src/commands/dev/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/commands/dev/index.js b/src/commands/dev/index.js index c648f6d..f28d850 100644 --- a/src/commands/dev/index.js +++ b/src/commands/dev/index.js @@ -55,6 +55,12 @@ async function action (params) { let specified = prefs?.http || n(port) || n(ARC_HTTP_PORT) || n(PORT) let link = c.green(c.bold(c.underline(`http://localhost:${specified}\n`))) process.stdout.write(link) + process.stdout.write('\n') + + let cribsheetMsg = c.white('View the preconfigured Enhance utility classes') + let cribsheetLink = c.green(c.bold(c.underline(`http://localhost:${specified}/_styleguide/cribsheet\n`))) + console.error(`${ready} ${cribsheetMsg}`) + process.stdout.write(cribsheetLink) } } resolve()