init-dev-env
v2.0.0
Published
Automatically create .env files from a template file
Downloads
289
Maintainers
Readme
init-dev-env
Automatically create .env files from a template file
Usage
$ npm install -g init-dev-env
$ init-dev-env COMMAND
running command...
$ init-dev-env (-v|--version|version)
init-dev-env/1.0.0 darwin-x64 node-v10.16.3
$ init-dev-env --help [COMMAND]
USAGE
$ init-dev-env COMMAND
...
Commands
init-dev-env generate-dot-env FILE
Automatically create .env files from an example env file
USAGE
$ init-dev-env generate-dot-env FILE
ARGUMENTS
FILE name of example .env file
OPTIONS
-f, --force
-h, --help show CLI help
-s, --source=source path for example .env file
-t, --target=target target path to create .env file
EXAMPLES
$ init-dev-env generate-dot-env
example.env from ./src/generate-dot-env.ts!
$ init-dev-env generate-dot-env
example.env --source examples --target server from ./src/generate-dot-env.ts!
See code: src/commands/generate-dot-env.ts
init-dev-env help [COMMAND]
display help for init-dev-env
USAGE
$ init-dev-env help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
Future Commands
PRs are most welcome implementing the commands below or new ones you may think of.
- Create/update .vscode extentions.json and settings.json files for Angular projects - see https://github.com/duluca/lemon-mart and https://gist.github.com/duluca/6bbd3c687beb6c84cb475fdf3eaa06f0
- Create/update .vscode extentions.json and settings.json files for TypeScript projects - see this project
- Setup
dev-norms
using https://www.npmjs.com/package/dev-norms - Add
standardize
npm script to project, along with prettier, import-sort and js-beautify- see example impl on this repo to replicate - Add
npm Scripts for Docker
as documented at https://gist.github.com/duluca/d13e501e870215586271b0f9ce1781ce#file-npm-scripts-for-docker-md - Add
npm Scripts for AWS ECS
as documented at https://gist.github.com/duluca/2b67eb6c2c85f3d75be8c183ab15266e#file-npm-scripts-for-aws-ecs-md - Configure CI for node project, i.e. CircleCI