cvmgit
Version:
Simple CLI tool to streamline git workflow.More updates coming soon.
13 lines (12 loc) • 366 B
JavaScript
const { execSync } = require("child_process");
function cvmInitRepo() {
try {
execSync(`git init`, { stdio: 'inherit' });
console.log("✅ Initialized git repository");
}
catch (err) {
console.error("❌ Error initializing git repository:", err.message);
process.exit(1);
}
}
module.exports = cvmInitRepo;