You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(commands): add non-interactive mode and Discover function
Add --no-interaction flag and a Discover() function that can be called
programmatically by external services like source-integration-apps.
- Add NoInteraction field to Answers (defaults to false for CLI)
- Add --no-interaction flag to platformify/upsunify commands
- Extract Discover() function from Platformify() — accepts an fs.FS
and returns *UserInput without writing files
- Platformify() now calls Discover() internally, then writes files
- FilesOverwrite accepts a file list and skips in non-interactive mode
- All interactive question handlers skip prompts when NoInteraction
is true, using Discoverer for auto-detection instead
- WorkingDirectory handler skips git detection in non-interactive mode
and supports pre-set WorkingDirectory from callers
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments