File: index.md

package info (click to toggle)
python-pyfunceble 4.2.29.dev-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,108 kB
  • sloc: python: 27,413; sh: 142; makefile: 27
file content (32 lines) | stat: -rw-r--r-- 1,050 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Parameters

As you now know, PyFunceble can be configured through the CLI, or its configuration
file.

## CLI Arguments: Behavior while switching boolean parameters

When switching boolean parameters through the CLI arguments, you have to keep
in mind that the CLI will act like a light switch.
Meaning that if you define `yes` in any boolean parameter and you use
the CLI argument to quickly switch its value, PyFunceble will be started with
the parameter set to `no`.

The same thing happens the other way around. if you define `no` in any boolean
parameter and you use the CLI argument to quickly switch its value, PyFunceble
will be started with the paramet set to `yes`.

Let say we set the `verify_ssl_certificates` parameter to `yes`:`

```yaml title=".PyFunceble.overwrite.yaml"
verify-ssl-certificates: yes
```

If we now use the `--verify-ssl-certificate` parameter through the CLI

```shell
pyfunceble  --verify-ssl-certificate -d example.org
```

PyFunceble will starts with the `verify_ssl_certificates` set to `no` - and
vice-versa.