relative path

This commit is contained in:
gwen 2025-10-27 09:20:12 +01:00
parent 9d856f9de0
commit 22a5621c5d

View file

@ -6,44 +6,45 @@ on a un path relatif, `_` ou `__`
https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_091~1..v1.1_091 https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_091~1..v1.1_091
--- ::
manual:
use_for_https: true # Also use this proxy for HTTPS manual:
"{{ identifier }}_proxy": use_for_https: true # Also use this proxy for HTTPS
description: "{{ identifier }} Proxy"
dynamic:
- HTTPS
- SOCKS
hidden:
jinja: |
{% if my_identifier == 'HTTPS' and _.use_for_https %}
HTTPS is same has HTTP
{% endif %}
params:
my_identifier:
type: identifier
description: |
in HTTPS case if "manual.use_for_https" is set to True
address: "{{ identifier }}_proxy":
description: "{{ identifier }} address" description: "{{ identifier }} Proxy"
default: dynamic:
variable: __.http_proxy.address - HTTPS
- SOCKS
hidden:
jinja: |
{% if my_identifier == 'HTTPS' and _.use_for_https %}
HTTPS is same has HTTP
{% endif %}
params:
my_identifier:
type: identifier
description: |
in HTTPS case if "manual.use_for_https" is set to True
port: address:
description: "{{ identifier }} port" description: "{{ identifier }} address"
default: default:
variable: __.http_proxy.port variable: __.http_proxy.address
version: port:
description: SOCKS host version used by proxy description: "{{ identifier }} port"
choices: default:
- v4 variable: __.http_proxy.port
- v5
default: v5 version:
disabled: description: SOCKS host version used by proxy
type: identifier choices:
when: 'HTTPS' - v4
- v5
default: v5
disabled:
type: identifier
when: 'HTTPS'