### Example mageconfig Execution (Bash) Source: https://github.com/grffio/mageconfig/blob/master/README.md Demonstrates a practical example of running a mage target (showconfig) that uses mageconfig. It shows how to set an environment variable (DB_URL) and pass a mageconfig argument (--api-key). ```bash env DB_URL="postgresql://localhost:5432" mage -debug -v showconfig --api-key "abc123" ``` -------------------------------- ### Install mageconfig (Go/Bash) Source: https://github.com/grffio/mageconfig/blob/master/README.md Provides the command to install the mageconfig library using the standard Go package manager. This command fetches the library from its GitHub repository. ```bash go get github.com/grffio/mageconfig ``` -------------------------------- ### Example Configuration File Format Source: https://github.com/grffio/mageconfig/blob/master/README.md This snippet illustrates the expected format for configuration files processed by MageConfig. Each line should define a parameter with its name followed by a colon and its value. Lines that do not adhere to this 'name: value' format will be disregarded during parsing. ```txt param1: value1 param2: value2 ``` -------------------------------- ### Basic mageconfig CLI Usage (Bash) Source: https://github.com/grffio/mageconfig/blob/master/README.md Shows the basic structure for running the mage command with mageconfig arguments. It includes placeholders for mage options, targets, and mageconfig-specific arguments. ```bash mage [mage-options] [targets] [mageconfig-arguments] ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.