UNPKG

taskwerk

Version:

A task management CLI for developers and AI agents working together

85 lines (80 loc) 4.09 kB
import { Command } from 'commander'; import chalk from 'chalk'; import packageInfo from '../version.js'; export function aboutCommand() { const about = new Command('about'); about.description('Display information about Taskwerk').action(() => { // ASCII Banner const banner = ` ████████╗ █████╗ ███████╗██╗ ██╗██╗ ██╗███████╗██████╗ ██╗ ██╗ ╚══██╔══╝██╔══██╗██╔════╝██║ ██╔╝██║ ██║██╔════╝██╔══██╗██║ ██╔╝ ██║ ███████║███████╗█████╔╝ ██║ █╗ ██║█████╗ ██████╔╝█████╔╝ ██║ ██╔══██║╚════██║██╔═██╗ ██║███╗██║██╔══╝ ██╔══██╗██╔═██╗ ██║ ██║ ██║███████║██║ ██╗╚███╔███╔╝███████╗██║ ██║██║ ██╗ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ `; console.log(chalk.cyan(banner)); console.log( chalk.bold(`🚀 taskwerk v${packageInfo.version}`) + chalk.gray(' by Taiso.AI (www.taiso.ai)') ); console.log(chalk.white('A task management CLI for developers and AI agents working together')); console.log(''); console.log(chalk.bold.blue('📦 Package Information:')); console.log(` ${chalk.bold('Name:')} ${packageInfo.name}`); console.log(` ${chalk.bold('Version:')} ${chalk.green(packageInfo.version)}`); console.log(` ${chalk.bold('About:')} ${packageInfo.description}`); console.log(` ${chalk.bold('License:')} ${packageInfo.license}`); console.log(''); console.log(chalk.bold.blue('🔗 Project Links:')); console.log( ` ${chalk.bold('GitHub Repository:')} ${chalk.cyan('https://github.com/taisoai/taskwerk')}` ); console.log( ` ${chalk.bold('npm Package:')} ${chalk.cyan('https://www.npmjs.com/package/taskwerk')}` ); console.log( ` ${chalk.bold('Issues & Support:')} ${chalk.cyan('https://github.com/taisoai/taskwerk/issues')}` ); console.log(''); console.log(chalk.bold.blue('🤖 AI Integration:')); console.log(chalk.gray(' • Supports Claude, OpenAI GPT, Mistral, Grok, and Llama models')); console.log(chalk.gray(' • Works with Ollama and LM Studio for local models')); console.log( chalk.yellow(' $ taskwerk ask "How do I refactor this?"') + chalk.gray(' # Ask AI for help') ); console.log( chalk.yellow(' $ taskwerk agent "Update all tests"') + chalk.gray(' # Let AI complete tasks') ); console.log(''); console.log(chalk.bold.blue('🚀 Quick Start:')); console.log( chalk.yellow(' $ taskwerk init') + chalk.gray(' # Initialize taskwerk in your project') ); console.log( chalk.yellow(' $ taskwerk add "My first task"') + chalk.gray(' # Add a new task') ); console.log( chalk.yellow(' $ taskwerk list') + chalk.gray(' # View your tasks') ); console.log( chalk.yellow(' $ taskwerk aiconfig') + chalk.gray(' # Set up AI integration') ); console.log(''); console.log(chalk.bold.blue('📚 Get Help:')); console.log( chalk.yellow(' $ taskwerk --help') + chalk.gray(' # Show all commands') ); console.log( chalk.yellow(' $ taskwerk <command> --help') + chalk.gray(' # Get help for specific command') ); console.log(''); console.log( chalk.bold.magenta('💡 Built with love for developers who ship great software! 🎯') ); }); return about; }