Skip to content

Add non-interactive option to installer#27

Merged
kevinmcconnell merged 1 commit intomainfrom
non-interactive-install
Mar 23, 2026
Merged

Add non-interactive option to installer#27
kevinmcconnell merged 1 commit intomainfrom
non-interactive-install

Conversation

@kevinmcconnell
Copy link
Collaborator

To perform an install without launching the TUI at the end:

curl https://get.once.com | ONCE_INTERACTIVE=false sh

Closes #15

To perform an install without launching the TUI at the end:

    curl https://get.once.com | ONCE_INTERACTIVE=false sh
Copilot AI review requested due to automatic review settings March 23, 2026 14:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a non-interactive mode to the install.sh installer so automated workflows (e.g., CI/Ansible) can install ONCE without launching the final TUI/interactive run_once step.

Changes:

  • Introduce ONCE_INTERACTIVE=false environment variable to skip run_once after installation.
  • Print a short “installed” message and exit early when non-interactive mode is enabled.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kevinmcconnell kevinmcconnell merged commit 11adb97 into main Mar 23, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Support for Unattended/Non-Interactive Installation

2 participants