import { CommandProcessor, CommandResult } from '../../utils/types.js'; /** * Generates command text without executing — used for interactive commands * that should be run manually (e.g., InitCommand, DependenciesCommand). * * This is the one place a shell sees the argv: a person runs the text. Every * entry is therefore shell-escaped here (POSIX, `shellQuote`), after the * command has encoded it for yargs (`cliOption`), so the shell hands the CLI * exactly the argv the command built. Commands never quote for the shell. * * The SDK CLI works in its process cwd (`now-sdk init` writes the new project * there), so the text enters the project directory itself rather than leaving * that to whoever runs it: `cd '