Execute Frappe Bench CLI commands safely with site awareness and common operation shortcuts
<command> [--site <sitename>]# Execute Bench Command Safely execute Frappe Bench CLI commands with proper site context and validation. ## Arguments Parse the user's input: $ARGUMENTS Common commands: - `migrate` - Run database migrations - `build` - Build JavaScript/CSS assets - `clear-cache` - Clear Redis cache - `console` - Open Python console - `start` - Start development server - `update` - Update apps and migrate - `backup` - Backup site - `restore` - Restore from backup ## Process ### Step 1: Detect Bench Directory Find the frappe-bench directory: ### Step 2: Identify Available Sites ### Step 3: Deter...