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

Enable or disable UI #77

Open
1 of 4 tasks
h-suk opened this issue Dec 11, 2020 · 0 comments
Open
1 of 4 tasks

Enable or disable UI #77

h-suk opened this issue Dec 11, 2020 · 0 comments
Assignees
Milestone

Comments

@h-suk
Copy link

h-suk commented Dec 11, 2020

Is your feature request related to a problem? Please describe.
I dont want to run the ui, so I can disable the ui

Describe the solution you'd like
Pass an argument --no-ui and the ui wont be running. For example:

hjs start --no-ui

⚠️ Be aware that if you have added --no-ui and --open together the program should add a warning in the terminal saying the browser could not open because there is no ui.

There must be another story in the cli to read those arguments.

Also, this property can be placed in the config file config.hjs.js giving priority to the one coming in the command line.

Example config:

config

{
  "ui":{
     "enable": true/false,
     "test": true/false ,
     "resources": true/false,
     "terminal": true/false
  }
}

cli
hjs start --ui-enable --ui-test --ui-resources --ui-terminal

  • enable
  • test
  • resources
  • terminal
@hector-js hector-js self-assigned this Dec 18, 2020
@hector-js hector-js added this to To do in stub-backend via automation Dec 18, 2020
@hector-js hector-js moved this from To do to In progress in stub-backend Dec 18, 2020
@hector-js hector-js added this to the 2.0.0 milestone Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
stub-backend
  
In progress
Development

No branches or pull requests

2 participants