12 lines
256 B
Python
12 lines
256 B
Python
|
import vultron.cmd
|
||
|
|
||
|
class Applications(vultron.cmd.Command):
|
||
|
def init(self):
|
||
|
self.needs_api_key = False
|
||
|
|
||
|
def vultron_list(self):
|
||
|
"""Display all available applications."""
|
||
|
|
||
|
apps = self.api.get("applications")
|
||
|
return apps["applications"]
|