Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(setup/update): add interactive mode #206

Merged
merged 2 commits into from
Jan 5, 2025

Conversation

HipsterBrown
Copy link
Owner

Fixes #204

Preview of new help text:

USAGE
  xs-dev setup [--device esp|esp8266|darwin|mac|windows_nt|windows|win|linux|lin|esp32|wasm|pico|nrf52] [--list-devices] [--tool ejectfix] [--branch value] [--release value] [--source-repo value] [--interactive]
  xs-dev setup --help

Download and build Moddable tooling for various platform targets

FLAGS
     [--device]                         Target device or platform SDK to set up; defaults to Moddable SDK for current OS; use --list-devices for interactive selection [esp|esp8266|darwin|mac|windows_nt|windows|win|linux|lin|esp32|wasm|pico|nrf52]
     [--list-devices/--noList-devices]  Select target device or platform SDK to set up from a list; defaults to false
     [--tool]                           Install additional tooling to support common development tasks                                                                 [ejectfix]
     [--branch]                         The remote branch to use as the source for Moddable SDK set up
     [--release]                        The release tag to use as the source for Moddable SDK set up; defaults to `latest`
     [--source-repo]                    URL for remote repository to use as source for Moddable SDK set up; defaults to upstream project
     [--interactive/--noInteractive]    Choose whether to show any prompts or automatically accept them; defaults to true unless CI environment variable is true.
  -h  --help                            Print help information and exit

@HipsterBrown HipsterBrown added minor Increment the minor version when merged prerelease This change is available in a prerelease. labels Jan 5, 2025
@HipsterBrown HipsterBrown merged commit 66f948e into main Jan 5, 2025
3 checks passed
@HipsterBrown HipsterBrown deleted the hipsterbrown/non-interactive-setup branch January 5, 2025 05:27
Copy link
Contributor

github-actions bot commented Jan 5, 2025

🚀 PR was released in v0.36.4 🚀

@github-actions github-actions bot added released This issue/pull request has been released. and removed prerelease This change is available in a prerelease. labels Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

An option to automatically answer to prompts.
1 participant