made-beta
Version:
It allows you to create tasks in your project manager (e.g., Github) automatically based on predefined processes. Additionally, it generates documentation based on the project.
17 lines • 809 B
JavaScript
import * as path from 'node:path';
import { ApplicationManager } from './project_management/application/ApplicationManager.js';
export async function generate(model, filePath, destination, opts) {
const final_destination = extractDestination(filePath, destination);
const appManager = ApplicationManager.getInstance(final_destination, model);
await appManager.initializeApplications();
return final_destination;
}
function extractDestination(filePath, destination) {
const path_ext = new RegExp(path.extname(filePath) + '$', 'g');
filePath = filePath.replace(path_ext, '');
return destination !== null && destination !== void 0 ? destination : path.join(path.dirname(filePath));
}
export function validate() {
console.log("funcionando");
}
//# sourceMappingURL=generator.js.map