home-assistant/cli

Feature Request: report state through CLI for Core Supervisor Dns etc

mjkl-gh opened this issue · 1 comments

I'm working on adding some features to an Ansible implementation that uses the CLI for starting, stopping and updating a Supervised or OS install.

totaldebug/ansible-collection-hassio_cli#9

However, when working on a --check functionality which does nothing but check the results of an action I noticed it's possible to stop and start a service, but not get the current status of the service, making it impossible to determine wether a command would change the current state.

Proposed solution:

Add a state field to the info command of all modules that support start or stop that reports running or `stopped or the like.

If this is something the maintainers are willing to accept I could try to open a PR for this

frenck commented

Thank you for reaching out. We use GitHub for tracking issues, not for providing support or tracking feature requests.

If you want to suggest a feature, you should try our Community Forum: Feature Requests.

If you have additional questions, feel free to join our Discord chat server.

Thanks! 👍