@navikt/aksel
Version:
Aksel command line interface. Codemods and other utilities for Aksel users.
21 lines (19 loc) ⢠884 B
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("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!
`);
}