chore: last round of touchups and bug fixes

This commit is contained in:
Ralph Khreish
2025-09-24 10:57:17 +02:00
parent 8f1497407f
commit c911608f60
5 changed files with 29 additions and 16 deletions

View File

@@ -5077,7 +5077,7 @@ Examples:
function setupCLI() {
// Create a new program instance
const programInstance = new Command()
.name('dev')
.name('task-master')
.description('AI-driven development task management')
.version(process.env.TM_PUBLIC_VERSION || 'unknown')
.helpOption('-h, --help', 'Display help')
@@ -5108,8 +5108,9 @@ function setupCLI() {
*/
async function runCLI(argv = process.argv) {
try {
// Display banner if not in a pipe
if (process.stdout.isTTY) {
// Display banner if not in a pipe (except for init command which has its own banner)
const isInitCommand = argv.includes('init');
if (process.stdout.isTTY && !isInitCommand) {
displayBanner();
}