-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase argument capability in raw ws and raw post
This re-uses the --yaml and --json argument parsers from services to allow passing from stdin and files. One awesome use case is: hass-cli raw ws lovelace/config > ui-lovelace.yaml $EDITOR ui-lovelace.yaml , replacing the status fields, up until result: with config:, and then, hass-cli raw ws lovelace/config/save --yaml @ui-lovelace.yaml
- Loading branch information
Showing
1 changed file
with
31 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters