14 lines
309 B
Python
14 lines
309 B
Python
import vultron.cmd
|
|
|
|
class Application(vultron.cmd.Command):
|
|
"""Query for information on Vultr applications."""
|
|
|
|
def init(self):
|
|
self.needs_api_key = False
|
|
|
|
def vultron_list(self):
|
|
"""Display all available applications."""
|
|
|
|
apps = self.api.get("applications")
|
|
return apps["applications"]
|