chore: update README

This commit is contained in:
Bornholm 2022-05-11 09:48:36 +02:00 committed by GitHub
parent 535a5531e0
commit ad7fca609f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -30,10 +30,10 @@ It will download `frmd` to your current directory.
Formidable uses URLs to define how to handle schemas/defaults/values. Formidable uses URLs to define how to handle schemas/defaults/values.
For example, to edit a schema (in YAML) from an HTTPS server, while readig default values from `stdin` (in JSON) and using effective values from the local file system (in HCL), outputing updates to `stdout`: For example, to edit with Firefox a schema (in YAML) from an HTTPS server, while readig default values from `stdin` (in JSON) and using effective values from the local file system (in HCL), outputing updates to `stdout`:
```bash ```bash
echo '{}' | frmd \ echo '{}' | FORMIDABLE_BROWSER="firefox" frmd \
edit edit
--schema 'https://example.com/my-schema.yml' \ --schema 'https://example.com/my-schema.yml' \
--defaults 'stdin://local?format=json' \ --defaults 'stdin://local?format=json' \