Make all top level commands singular

This commit is contained in:
Nick Chambers 2022-08-21 17:14:15 -05:00
parent 21bdb55a66
commit 6dbdb8e43d
5 changed files with 7 additions and 5 deletions

View File

@ -1,2 +1,4 @@
# FIXME: build this dynamically
__all__ = ["account", "help", "regions", "vpcs"]
__all__ = [
"account", "application", "backup", "billing", "help", "region", "vpc"
]

View File

@ -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

View File

@ -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."""

View File

@ -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):

View File

@ -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):