Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

afractal/EnvironmentVariableProvider

Repository files navigation

Build Status Build status

demo

Install

Install via nuget package manager:

PM> Install-Package EnvironmentVariableProvider

Getting started

To get started, just instantiate the type provider and pass in an environment variable flag as the parameter.

open FSharp.Environment.TypeProviders
open FSharp.Environment

type EnvVars = EnvironmentVariableProvider< target = EnvironmentTarget.Machine >

let envVars = EnvVars()

The variable envVars now contains the list of env variables.