Lines Matching refs:args
78 async exec (args) {
79 if (args.length === 0) {
85 const [subcmd, ...opts] = args
107 async get (args) {
143 if (args.length) {
144 const values = args // comma or space separated
171 async set (args) {
173 const prop = (args[0] || '').toLowerCase().trim()
175 let value = args.length > 1 ? args.slice(1).join(' ') : null
234 async enable2fa (args) {
235 if (args.length > 1) {
239 const mode = args[0] || 'auth-and-writes'
376 async disable2fa (args) {