Skip to content

BinaryBirds/env-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EnvKit (🌲)

EnvKit is a Swift package for transmitting environment variables between shell processes.

Usage

Some basic examples:

import EnvKit

let env = try Env(["env-key": "env-value"])
env["env-key"] = "env-new-value"
try env.save() 
try env.destroy()

Install

Just use the Swift Package Manager as usual:

.package(url: "https://github.com/binarybirds/env-kit", from: "1.0.0"),

Don't forget to add "Env" to your target as a dependency:

.product(name: "EnvKit", package: "env-kit"),

That's it.

License

WTFPL - Do what the fuck you want to.

About

EnvKit is a Swift package for transmitting environment variables between shell processes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published