feat: cli v0.2.0

This commit is contained in:
Gabriel Pastori
2023-11-14 11:38:22 -03:00
parent 5e0c55b489
commit b6f447bb0a
16 changed files with 1297 additions and 7 deletions

21
lib/help.js Normal file
View File

@@ -0,0 +1,21 @@
module.exports = () => {
// welcome message
console.log(`👋 Welcome to evolution-manager CLI!`)
// help message
console.log(`📋 Available commands:`)
console.log(` help`)
console.log(` server`)
console.log(` - start [--port=9615]`)
console.log(` - build`)
console.log(` pm2`)
console.log(` - setup`)
console.log(` - start`)
console.log(` - stop`)
console.log(` - restart`)
console.log(` - delete`)
// spacing
console.log(`\n`)
}