diff --git a/client/maxctrl/lib/show.js b/client/maxctrl/lib/show.js index a00f6c79c..1c44917a9 100644 --- a/client/maxctrl/lib/show.js +++ b/client/maxctrl/lib/show.js @@ -84,6 +84,14 @@ exports.builder = function(yargs) { {'Commands': 'attributes.commands'} ]) }) + .command('maxscale', 'Show MaxScale information', {}, function(argv) { + getResource('maxscale', [ + {'Version': 'attributes.version'}, + {'Commit': 'attributes.commit'}, + {'Started At': 'attributes.started_at'}, + {'Uptime': 'attributes.uptime'} + ]) + }) .usage('Usage: show ') .help() .command('*', 'the default command', {}, () => {