mirror of
https://github.com/jlengrand/moderne-docs.git
synced 2026-03-10 08:31:21 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user