INNER CODE UNIT · Python

preloop

infobyte/emploleaks · emploleaks.py:226

    def preloop(self) -> None:
        """Print banner before starting the CLI"""
        banner = """
                      _       _            _        
  ___ _ __ ___  _ __ | | ___ | | ___  __ _| | _____ 
 / _ \\ '_ ` _ \\| '_ \\| |/ _ \\| |/ _ \\/ _` | |/ / __|
|  __/ | | | | | |_) | | (_) | |  __/ (_| |   <\\__ \\
 \\___|_| |_| |_| .__/|_|\\___/|_|\\___|\\__,_|_|\\_\\___/
               |_|                                  
"""
        self.poutput(style(banner, fg=Fg['WHITE']))
        self.poutput(style('\nWelcome to EmploLeaks CLI. Type help or ? to list commands.\n', fg=Fg['WHITE']))
        super().preloop()

    def __init__(self, connector_db=None, *args, **kwargs):
        super().__init__(*args, allow_cli_args=False, **kwargs)
        
        # Disable unused cmd2 commands

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…