mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-03-22 03:55:19 +00:00
Add -q|--quiet global option
This commit is contained in:
parent
d46cf4aced
commit
a853c0418a
@ -8,6 +8,7 @@ program.version(packageJSON.version)
|
||||
|
||||
# ---------- Options ----------
|
||||
program.option('-y, --yes', 'Confirm non interactively')
|
||||
program.option('-q, --quiet', 'quiet (no output)')
|
||||
|
||||
# ---------- Auth Module ----------
|
||||
auth = require('./actions/auth')
|
||||
@ -89,3 +90,4 @@ program
|
||||
data.prefix.set config.dataPrefix, (error) ->
|
||||
throw error if error?
|
||||
program.parse(process.argv)
|
||||
log.setQuiet(program.quiet)
|
||||
|
Loading…
x
Reference in New Issue
Block a user