UNPKG

@avleon/cli

Version:

> **🚧 This project is in active development.** > > It is **not stable** and **not ready** for live environments. > Use **only for testing, experimentation, or internal evaluation**. > > ####❗ Risks of using this in production: > > - 🔄 Breaking changes

27 lines (26 loc) 715 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AvCli = void 0; const node_child_process_1 = require("node:child_process"); class AvCli { constructor() { } formatFileName() { } async executeCommand(cmd) { const { stdout, stderr } = (0, node_child_process_1.exec)(cmd, { encoding: "utf8" }); if (stderr) { throw new Error("Can't execute command"); } console.log(stdout); } displayHelp() { } newProject() { } makeModel() { } makeController() { } makeService() { } makeConfig() { } makeHelper() { } makeRestController() { } makeRestService() { } run() { } } exports.AvCli = AvCli;