dotenv-to-azure-env

Converts .env files to azure env json configurations

Usage no npm install needed!

<script type="module">
  import dotenvToAzureEnv from 'https://cdn.skypack.dev/dotenv-to-azure-env';
</script>

README

.env to Azure environment config

Converts .env files into Azure environment configuration files

Usage

Usage:
  dotenv-to-azure-env

Flags:
  -h, --help      Show help text
  -f, --file      Files to convert to single output file
  -o, --out-file  Filepath to output file. If not specify will print json to stdout

Example

Example command:

dotenv-to-azure-env -f hello.env -f yellow.env

Example input:

hello.env

HELLO=world

yello.env

YELLOW=bellow

Example output

[
    {
        "name": "HELLO",
        "value": "world",
        "slotSetting": false
    },
    {
        "name": "YELLOW",
        "value": "bellow",
        "slotSetting": false
    }
]