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

Support no interaction mode #191

Open
akalipetis opened this issue Dec 7, 2023 · 1 comment
Open

Support no interaction mode #191

akalipetis opened this issue Dec 7, 2023 · 1 comment
Labels

Comments

@akalipetis
Copy link
Member

Currently, Platformify has only a single, interactive mode. We should support a --no-interaction mode, where the defaults should be picked for every question.

@chadwcarlson
Copy link
Contributor

chadwcarlson commented Dec 8, 2023

No interaction iff:

  • --no-interaction flag passed in both Platform.sh and Upsun context
  • PLATFORMSH_CLI_NO_INTERACTION=1 in the Platform.sh context
  • UPSUN_CLI_NO_INTERACTION=1 in the Upsun context

Default attributes to set:

  • Should pre-existing files be overwritten? (currently default false and exit)
  • No runtime or stack detected
  • Runtimes (when runtime, but not stack detected)
    • C#/.Net Core
    • Elixir
    • Go
    • Java
    • Lisp
    • JavaScript/Node.js
    • PHP
    • Python
    • Ruby
  • Stacks (when stack detected)
    • Generic
    • Django
    • Express
    • Flask
    • Laravel
    • Next.js
    • Strapi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants