Skip to content

Commit bf20707

Browse files
committed
Change default NODE_ENV to production
1 parent ac41293 commit bf20707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/charged

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ const args = require('meow')(`
1111
-w, --max-wait <sec> maximum time to wait for invoice long-poll updates, in seconds [default: 120]
1212
-p, --port <port> http server port [default: 9112]
1313
-i, --host <host> http server listen address [default: 127.0.0.1]
14-
-e, --node-env <env> nodejs environment mode [default: development]
14+
-e, --node-env <env> nodejs environment mode [default: production]
1515
-h, --help output usage information
1616
-v, --version output version number
1717
1818
Example
1919
$ charged -t mySecretToken -l ~/.lightning -d ~/charge.db -p 9112
2020
2121
`, { flags: { apiToken: {alias:'t'}, lnPath: {alias:'l'}, dbPath: {alias:'d'}, maxWait: {alias:'w'}
22-
, port: {alias:'p'}, host: {alias: 'i'}, nodeEnv: {alias:'e'} } }
22+
, port: {alias:'p'}, host: {alias: 'i'}, nodeEnv: {alias:'e', default:'production'} } }
2323
).flags
2424

2525
const envify = k => k.replace(/([A-Z])/g, '_$1').toUpperCase()

0 commit comments

Comments
 (0)