Make all top level commands singular
This commit is contained in:
parent
21bdb55a66
commit
6dbdb8e43d
|
@ -1,2 +1,4 @@
|
|||
# FIXME: build this dynamically
|
||||
__all__ = ["account", "help", "regions", "vpcs"]
|
||||
__all__ = [
|
||||
"account", "application", "backup", "billing", "help", "region", "vpc"
|
||||
]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import vultron.cmd
|
||||
|
||||
class Applications(vultron.cmd.Command):
|
||||
class Application(vultron.cmd.Command):
|
||||
def init(self):
|
||||
self.needs_api_key = False
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
import vultron.cmd
|
||||
|
||||
class Backups(vultron.cmd.Command):
|
||||
class Backup(vultron.cmd.Command):
|
||||
def vultron_list(self):
|
||||
"""Display all stored snapshots."""
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
import vultron.cmd
|
||||
import vultron.display
|
||||
|
||||
class Regions(vultron.cmd.Command):
|
||||
class Region(vultron.cmd.Command):
|
||||
"""Query for information on Vultr regions."""
|
||||
|
||||
def init(self):
|
|
@ -1,7 +1,7 @@
|
|||
import vultron.cmd
|
||||
import vultron.display
|
||||
|
||||
class Vpcs(vultron.cmd.Command):
|
||||
class Vpc(vultron.cmd.Command):
|
||||
"""Query for information on VPCs."""
|
||||
|
||||
def vultron_list(self):
|
Loading…
Reference in New Issue