Remove devices supported command

The command is not necessary and unused.
This commit is contained in:
Juan Cruz Viotti 2015-08-17 10:05:36 -04:00
parent 89bd861d8e
commit a698b25fda
4 changed files with 0 additions and 27 deletions

View File

@ -112,16 +112,6 @@
}
};
exports.supported = {
signature: 'devices supported',
description: 'list all supported devices',
help: 'Use this command to get the list of all supported devices\n\nExamples:\n\n $ resin devices supported',
permission: 'user',
action: function(params, options, done) {
return resin.models.device.getSupportedDeviceTypes().each(console.log).nodeify(done);
}
};
exports.await = {
signature: 'device await <uuid>',
description: 'await for a device to become online',

View File

@ -60,8 +60,6 @@
capitano.command(actions.device.list);
capitano.command(actions.device.supported);
capitano.command(actions.device.rename);
capitano.command(actions.device.init);

View File

@ -151,20 +151,6 @@ exports.rename =
.then(_.partial(resin.models.device.rename, params.uuid))
.nodeify(done)
exports.supported =
signature: 'devices supported'
description: 'list all supported devices'
help: '''
Use this command to get the list of all supported devices
Examples:
$ resin devices supported
'''
permission: 'user'
action: (params, options, done) ->
resin.models.device.getSupportedDeviceTypes().each(console.log).nodeify(done)
exports.await =
signature: 'device await <uuid>'
description: 'await for a device to become online'

View File

@ -42,7 +42,6 @@ capitano.command(actions.app.info)
# ---------- Device Module ----------
capitano.command(actions.device.list)
capitano.command(actions.device.supported)
capitano.command(actions.device.rename)
capitano.command(actions.device.init)
capitano.command(actions.device.await)