adds qinfo management command

It seems more practical to give this its own command instead of `qmonitor --info`
This commit is contained in:
Ilan
2015-08-10 13:20:17 +02:00
parent 63030aa9d1
commit e86308b434
5 changed files with 22 additions and 15 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ def info(r=redis_client):
reincarnations += cluster.reincarnations
term.clear_eos()
col_width = int(term.width / 6)
print(term.black_on_green(term.center(_('-- {} clusters summary --').format(Conf.PREFIX))))
print(term.black_on_green(term.center(_('-- {} summary --').format(Conf.PREFIX))))
print(term.cyan(_('Clusters')) +
term.move_x(1 * col_width) +
term.white(str(clusters)) +