Odyssey
Public Member Functions | Static Public Attributes | List of all members
cli.entry.RootCommand Class Reference
Inheritance diagram for cli.entry.RootCommand:

Public Member Functions

def setup_args (self, parser)
 
def prerun (self, args)
 
def run (self, args)
 

Static Public Attributes

string name = 'hosting'
 

Detailed Description

Manage Odyssey AWS hosting. 

Definition at line 11 of file entry.py.

Member Function Documentation

◆ prerun()

def cli.entry.RootCommand.prerun (   self,
  args 
)
Add the interactive commands just before it goes to the prompt so
they don't show up in the --help from the commands line. 

Definition at line 26 of file entry.py.

26  def prerun(self, args):
27  """ Add the interactive commands just before it goes to the prompt so
28  they don't show up in the --help from the commands line. """
29  self.add_subcommand(contrib.Exit)
30  self.add_subcommand(contrib.Help)
31  self.add_subcommand(contrib.Reset)
32  self.add_subcommand(contrib.Pager)
33 

◆ run()

def cli.entry.RootCommand.run (   self,
  args 
)
Run interactive mode if we are called without args. 

Definition at line 34 of file entry.py.

34  def run(self, args):
35  """ Run interactive mode if we are called without args. """
36  self.session.run_loop()
37 
38 

The documentation for this class was generated from the following file: