Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a non-interactive mode for the SPARC CLI and adds support for deploying SPARC CLI to Fly.io. The changes include modifications to the argument parsing, the main entry point, and the addition of new scripts and configurations for deployment.
Enhancements to SPARC CLI:
sparc_cli/__main__.py: Added a--non-interactiveargument and logic to handle non-interactive mode by invokinghandle_non_interactivefrom the newsparc_cli/non_interactive.pymodule. [1] [2]sparc_cli/non_interactive.py: Created a new module to handle non-interactive mode, displaying help and status, and keeping the process running.Fly.io Deployment:
sparc_cli/scripts/fly/Dockerfile: Added a Dockerfile to set up the environment, install dependencies, and configure the SPARC CLI for deployment on Fly.io.sparc_cli/scripts/fly/README.md: Added documentation for deploying SPARC CLI to Fly.io, including prerequisites, quick start guide, configuration, and troubleshooting.sparc_cli/scripts/fly/*.sh: Added various scripts (install.sh,deploy.sh,access.sh,startup.sh) to automate the deployment and management of SPARC CLI on Fly.io. These scripts handle installation, configuration, deployment, and access. [1] [2] [3] [4]These changes collectively add significant new functionality to the SPARC CLI, making it more versatile and easier to deploy in a cloud environment.