@navikt/aksel
Version:
Aksel command line interface. Handles css-imports, codemods and more
31 lines (27 loc) ⢠1.45 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.helpCommand = helpCommand;
const chalk_1 = __importDefault(require("chalk"));
const figlet_1 = __importDefault(require("figlet"));
function helpCommand() {
console.info(figlet_1.default.textSync("Aksel CLI"));
console.info(`
š Documentation
- ${chalk_1.default.blueBright("https://aksel.nav.no/grunnleggende/kode/kommandolinje")}
š» Commands:
- ${chalk_1.default.cyan(`npx @navikt/aksel ${chalk_1.default.green("css-imports")}`)}
āļø Helps with CSS imports for all Aksel components
āļø Supports Static and CDN-imports
āļø Handles cascading, tailwind and @layer rules
- ${chalk_1.default.cyan(`npx @navikt/aksel ${chalk_1.default.green("codemod")} ${chalk_1.default.gray("<migration>")}`)}
āļø Code-transformations for breaking changes when updating Aksel
āļø Run with ${chalk_1.default.cyan(`${chalk_1.default.green("--help")}`)} to get started!
- ${chalk_1.default.cyan(`npx @navikt/aksel ${chalk_1.default.green("darkside")} ${chalk_1.default.gray("<task>")}`)}
āļø Tooling for migrating to the darkside
āļø Check current status and migrate tokens
āļø Run with ${chalk_1.default.cyan(`${chalk_1.default.green("--help")}`)} to get started!
`);
}