feat: Enable global CLI linking and direct mintel command execution, updating installation instructions and project path resolution.

This commit is contained in:
2026-02-05 12:12:56 +01:00
parent 96ec2c7d8d
commit 31840da9e7
2 changed files with 26 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env node
import { Command } from "commander";
import fs from "fs-extra";
import path from "path";
@@ -87,7 +88,7 @@ program
.action(async (projectPath) => {
const fullPath = path.isAbsolute(projectPath)
? projectPath
: path.resolve(process.cwd(), "../../", projectPath);
: path.resolve(process.cwd(), projectPath);
const projectName = path.basename(fullPath);
console.log(chalk.blue(`Initializing new project: ${projectName}...`));