Document MODERNE_CLI_CONFIG_HOME environment variable (#209)

* Document MODERNE_CLI_MODERNE_YML environment variable

* Document MODERNE_CLI_MODERNE_YML in its own info box

* Replace MODERNE_CLI_MODERNE_YML with MODERNE_CLI_CONFIG_HOME

* Markdown fix
This commit is contained in:
Bryce Tompkins
2025-03-25 16:12:57 -04:00
committed by GitHub
parent 256a07c438
commit 63b6b7cfc0

View File

@@ -45,6 +45,15 @@ mod config build gradle arguments show
Or, you can navigate to the `~/.moderne/cli/moderne.yml` file and see all of your configuration options for all commands there.
:::info
To share the global `moderne.yml` configuration file, you can set the `MODERNE_CLI_CONFIG_HOME` environment variable to point to a network accessible directory containing `moderne.yml`.
```bash
export MODERNE_CLI_CONFIG_HOME=/net/moderne/cli
```
:::
If you want to delete the global arguments, you can run the commands:
```bash