takeoff-env / takeoff

A rapid development environment using docker for convenience.
https://takeoff.sh/
MIT License
272 stars 17 forks source link

Custom names for commands #1

Closed tanepiper closed 7 years ago

tanepiper commented 7 years ago

As a users, for the following commands: build, up, down I would like to be able to just pass a name of an environment and have it be build if the settings are available, otherwise display me an error.

Currently the command is hard coded as npm run build:dev.

Instead if should be npm run build (--)dev. It may need a switch depending on the library used.

Based on the name, the Dockerfile. files are used, as well as other environmental settings.

tanepiper commented 7 years ago

Now done with flags to npm commands, see documentation.