diff --git a/README.md b/README.md index c3a67cb1..4e7f9397 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ - [Summary](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/branch/1.1/README.md) -- [[tutorial v1.1_001] A first variable with only a name](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_001/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_001~1..v1.1_001)) +- [[tutorial v1.1_002] Describe the variable](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_002/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_002~1..v1.1_002)) -# [tutorial v1.1_002)] Describe the variable +# [tutorial v1.1_003)] Set a default value -[View the diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_002~1..v1.1_002) +[View the diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_003~1..v1.1_003) ## Screenshot @@ -29,7 +29,7 @@ pip install rougail-cli rougail-output-exporter rougail-output-doc rougail-user- Then switch to the tutorial page: ```shell -git switch --detach v1.1_002 +git switch --detach v1.1_003 ``` ## Structure @@ -37,9 +37,9 @@ git switch --detach v1.1_002
-.
- └── firefox
- └── 00-proxy.yml
+.
+ └── firefox
+ └── 00-proxy.yml
🛑 ERRORS -┗━━ The following variables are mandatory but have no value: - ┗━━ Configure Proxy Access to the Internet --#### Output in read write mode - -```shell -rougail -m firefox/ -u yaml -yf config/01/config.yml --cli.read_write -```
╭─────── Caption ────────╮ │ Variable Default value │ ╰────────────────────────╯ Variables: -┗━━ 📓 Configure Proxy Access to the Internet: null +┗━━ 📓 Configure Proxy Access to the Internet: No proxy### Example 2 @@ -118,11 +109,12 @@ proxy_mode: No proxy ```shell rougail -m firefox/ -u yaml -yf config/02/config.yml ``` -
╭──────── Caption ────────╮ -│ Variable Modified value │ -╰─────────────────────────╯ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ Variables: -┗━━ 📓 Configure Proxy Access to the Internet: No proxy ◀ loaded from the YAML file "config/02/config.yml" +┗━━ 📓 Configure Proxy Access to the Internet: No proxy ◀ loaded from the YAML file "config/02/config.yml" (⏳ No proxy)### Example 3 @@ -138,12 +130,13 @@ proxy_mode: foo ```shell rougail -m firefox/ -u yaml -yf config/03/config.yml ``` -╭──────── Caption ────────╮ -│ Variable Modified value │ -╰─────────────────────────╯ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ Variables: -┗━━ 📓 Configure Proxy Access to the Internet: foo ◀ loaded from the YAML file "config/03/config.yml" +┗━━ 📓 Configure Proxy Access to the Internet: foo ◀ loaded from the YAML file "config/03/config.yml" (⏳ No proxy)-- [[tutorial v1.1_003] Set a default value](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_003/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_003~1..v1.1_003)) +- [[tutorial v1.1_004] Limits the possible values for the variable](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_004/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_004~1..v1.1_004)) diff --git a/config/01/cmd_rw.txt b/config/01/cmd_rw.txt deleted file mode 100644 index 93f7d8e7..00000000 --- a/config/01/cmd_rw.txt +++ /dev/null @@ -1 +0,0 @@ -rougail -m firefox/ -u yaml -yf config/01/config.yml --cli.read_write \ No newline at end of file diff --git a/config/01/output_ro.html b/config/01/output_ro.html index 7ef594fb..ea9c2266 100644 --- a/config/01/output_ro.html +++ b/config/01/output_ro.html @@ -1,4 +1,6 @@ -🛑 ERRORS -┗━━ The following variables are mandatory but have no value: - ┗━━ Configure Proxy Access to the Internet +╭─────── Caption ────────╮ +│ Variable Default value │ +╰────────────────────────╯ +Variables: +┗━━ 📓 Configure Proxy Access to the Internet: No proxydiff --git a/config/01/output_rw.html b/config/01/output_rw.html deleted file mode 100644 index 23659aad..00000000 --- a/config/01/output_rw.html +++ /dev/null @@ -1,6 +0,0 @@ -╭─────── Caption ────────╮ -│ Variable Default value │ -╰────────────────────────╯ -Variables: -┗━━ 📓 Configure Proxy Access to the Internet: null -diff --git a/config/02/output_ro.html b/config/02/output_ro.html index 623e0a62..d28ee446 100644 --- a/config/02/output_ro.html +++ b/config/02/output_ro.html @@ -1,6 +1,7 @@ -╭──────── Caption ────────╮ -│ Variable Modified value │ -╰─────────────────────────╯ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ Variables: -┗━━ 📓 Configure Proxy Access to the Internet: No proxy ◀ loaded from the YAML file "config/02/config.yml" +┗━━ 📓 Configure Proxy Access to the Internet: No proxy ◀ loaded from the YAML file "config/02/config.yml" (⏳ No proxy)diff --git a/config/03/output_ro.html b/config/03/output_ro.html index 2aeb3ec7..d017dd24 100644 --- a/config/03/output_ro.html +++ b/config/03/output_ro.html @@ -1,6 +1,7 @@ -╭──────── Caption ────────╮ -│ Variable Modified value │ -╰─────────────────────────╯ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ Variables: -┗━━ 📓 Configure Proxy Access to the Internet: foo ◀ loaded from the YAML file "config/03/config.yml" +┗━━ 📓 Configure Proxy Access to the Internet: foo ◀ loaded from the YAML file "config/03/config.yml" (⏳ No proxy)diff --git a/tree.html b/tree.html index d3d96ddc..bb866399 100644 --- a/tree.html +++ b/tree.html @@ -25,9 +25,9 @@Directory Tree
- .
- └── firefox
- └── 00-proxy.yml
+ .
+ └── firefox
+ └── 00-proxy.yml
2 directories, 1 file