Skip to content

A simple CLI for creating your .env files typings for Typescript!

Notifications You must be signed in to change notification settings

teovillanueva/dotenv-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotenv-types

dotenv-types is a CLI for generating .env typings for Typescript

Installation

Use the package manager npm to install dotenv-types.

$ npm i -g dotenv-types

You can also run the CLI with npx

$ npx dotenv-types

Usage

$ dotenv-types -h

Outputs:

      _       _                       _
   __| | ___ | |_ ___ _ ____   __    | |_ _   _ _ __   ___  ___
  / _` |/ _ \| __/ _ \ '_ \ \ / /____| __| | | | '_ \ / _ \/ __|
 | (_| | (_) | ||  __/ | | \ V /_____| |_| |_| | |_) |  __/\__ \
  \__,_|\___/ \__\___|_| |_|\_/       \__|\__, | .__/ \___||___/
                                          |___/|_|
Usage: dotenv-types[options]

Options:
  -V, --version              output the version number
  -F, --file <file>          Your .env file
  -f, --filename <filename>  Output filename
  -d, --directory <dir>      Output directory
  -h, --help                 display help for command

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

A simple CLI for creating your .env files typings for Typescript!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published