feat(region): host list order by server count

This commit is contained in:
Zexi Li
2021-05-06 20:53:04 +08:00
parent 67f6aa11a5
commit ac491f4f58
3 changed files with 17 additions and 0 deletions
+2
View File
@@ -60,6 +60,8 @@ func init() {
Sn string `help:"find host by sn"`
OrderByServerCount string `help:"Order by server count" choices:"desc|asc"`
options.BaseListOptions
}
R(&HostListOptions{}, "host-list", "List hosts", func(s *mcclient.ClientSession, opts *HostListOptions) error {