Closed cliffoo closed 1 year ago
For the CLI, we should just call this --no-auto-open
. Or at least make it kebab-case!
Maybe just open
everywhere, config and cli?
Ok --no-auto-open
gets parsed as {"auto-open": false, autoOpen: false}
and I'm going to assume that's a consistent behavior.
Addresses #6095
It can be useful in some environments to not want Dashboard to open in browser on start.
To test:
truffle dashboard --no-auto-open
truffle dashboard
in a Truffle project withdashboard.autoOpen
set in truffle-config.jsCLI value takes precedence.