1.0.0 • Published 4 years ago

dotenv-types v1.0.0

Weekly downloads
45
License
ISC
Repository
github
Last release
4 years ago

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

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.