Adds correct order of env file loading, from local to global.

This commit is contained in:
2023-02-14 15:41:51 +02:00
parent f6291bf8ba
commit 9012c5b541
2 changed files with 13 additions and 5 deletions

View File

@@ -29,15 +29,23 @@ Usage: octojpack [OPTION...]
Packager url
example: octojpack -pu="https://git.vdm.dev/"
======================================================
-md | --main-dir=<path>
load the main working directory
example: octojpack --main-dir=/src
======================================================
-e | --env=<file>
load the environment variables file
example: octojpack --env=/src/.env
======================================================
--conf | --config=<path>
--conf | --config=<path/url>
load the configuration for the package in json format
file-example: src/example.json
example: octojpack --config=config.json
======================================================
-ld | --licence-dir=<path>
load the licence directory
example: octojpack --licence-dir=/src/licence
======================================================
-t | --token=<access_token>
load the global token
example: octojpack --token=xxxxxxxxxxxxxxxxxxxxxxxxx
@@ -67,7 +75,7 @@ Usage: octojpack [OPTION...]
example: octojpack -h
example: octojpack --help
======================================================
Octojpack v1.0
Octojpack
======================================================
```