mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Improve ynh_add_config doc (#2154)
* Improve ynh_add_config template parameter usage description * Update packaging_apps_helpers.md * Update pages/06.contribute/10.packaging_apps/11.helpers/packaging_apps_helpers.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
This commit is contained in:
parent
030cbb83d3
commit
911d0b5aab
1 changed files with 2 additions and 2 deletions
|
@ -2301,13 +2301,13 @@ Requires YunoHost version 2.6.4 or higher.
|
|||
**Usage**: `ynh_add_config --template="template" --destination="destination"`
|
||||
|
||||
**Arguments**:
|
||||
- `-t`, `--template=`: Template config file to use
|
||||
- `-t`, `--template=`: Template config file to use. The file will first be looked for in the `conf` directory of the package and if missing at the exact path given.
|
||||
- `-d`, `--destination=`: Destination of the config file
|
||||
|
||||
**Examples**:
|
||||
|
||||
|
||||
- ` ynh_add_config --template=".env" --destination="$final_path/.env" use the template file "../conf/.env"`
|
||||
- ` ynh_add_config --template=".env" --destination="$final_path/.env"` uses the template file `../conf/.env`
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue