An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.
JavaScript aicursorcursor-aicursorailovablelovable-devroocodetask-managertaskstasks-listwindsurfwindsurf-ai
Add --no-banner argument to clean up the output (#1600)
Ed Sumerfield712a0789d6d5
diff --git a/.changeset/fair-heads-report.md b/.changeset/fair-heads-report.mdnew file mode 100644index 00000000..f25ed1ad--- /dev/null+++ b/.changeset/fair-heads-report.md@@ -0,0 +1,5 @@+---+"task-master-ai": patch+---++Add --no-banner to suppress the startup banner.diff --git a/scripts/modules/commands.js b/scripts/modules/commands.jsindex 3474d0a7..e1851ca5 100644--- a/scripts/modules/commands.js+++ b/scripts/modules/commands.js@@ -5405,7 +5405,8 @@ async function runCLI(argv = process.argv) {// Display banner if not in a pipe (except for init/start/repl commands which have their own)const isInitCommand = argv.includes('init');const isREPLCommand = argv.includes('tui') || argv.includes('repl');- if (process.stdout.isTTY && !isInitCommand && !isREPLCommand) {+ const noBanner = argv.includes('--no-banner');+ if (process.stdout.isTTY && !isInitCommand && !isREPLCommand && !noBanner) {displayBanner();}@@ -5442,7 +5443,9 @@ async function runCLI(argv = process.argv) {// NOTE: getConfig() might be called during setupCLI->registerCommands if commands need config// This means the ConfigurationError might be thrown here if configuration file is missing.const programInstance = setupCLI();- await programInstance.parseAsync(argv);+ // Filter out --no-banner since it's handled above and not a Commander option+ const filteredArgv = argv.filter((arg) => arg !== '--no-banner');+ await programInstance.parseAsync(filteredArgv);// Check if migration has occurred and show FYI notice oncetry {