'use strict';

const index = require('./cli.cebce5ac.cjs');

function showHelp(meta) {
  const sections = [];
  if (meta) {
    if (meta.usage) {
      sections.push(index.magenta("> ") + "Usage: " + index.cyan(meta.usage));
    }
    if (meta.description) {
      sections.push(index.magenta("\u22EE ") + meta.description);
    }
  }
  sections.push(
    `Use ${index.cyan("npx remix [command] --help")} to see help for each command`
  );
  console.log(sections.join("\n\n") + "\n");
}

exports.showHelp = showHelp;
