Closed tommy-mitchell closed 1 year ago
Rollup supports setting environment variables via a flag: (source)
$ npx rollup -c --environment INCLUDE_DEPS,BUILD:production #=> process.env.INCLUDE_DEPS = "true" #=> process.env.BUILD = "production"
listr-cli should support the same to make setting variables easier cross-platform. Rollup's syntax (automatic true, array support) is acceptable.
listr-cli
true
Possible flags: --environment, --env, -e
--environment
--env
-e
Possible blocker: https://github.com/sindresorhus/meow/issues/164
Rollup supports setting environment variables via a flag: (source)
listr-cli
should support the same to make setting variables easier cross-platform. Rollup's syntax (automatictrue
, array support) is acceptable.Possible flags:
--environment
,--env
,-e