app icon indicating copy to clipboard operation
app copied to clipboard

Ability to disable service via flag

Open mikesir87 opened this issue 6 years ago • 0 comments

Proposal

While using x-enabled to disable a service, I have noticed that I'm frequently creating settings for each service that I want disabled. And, for the most part, those are a one-to-one mapping (never is one setting disabling more than one service).

What I would like to propose is the ability to disable a service through the use of a first-class flag without the need to define a setting and/or its x-enabled attribute. Ideas might be:

  • docker-app render --disable api my-sample-dockerapp
  • docker-app render --disable-service api my-sample-dockerapp

Would be great if the flag was available for all of the commands that it makes sense. But, if we had to pick a first command, I would vote for render as that is what I'm using most frequently right now.

mikesir87 avatar Sep 25 '18 03:09 mikesir87