def do_pods(self, line):
        """
        List pods
        Syntax:
            pods namespace [selector]
        Selector is in the kubernetes native form: app=something,ver=1
        """
        cmd = Command(line)
        namespace = cmd.get(0)
        selector = cmd.get(1)
        for pod in self.k8s_inventory.find_pods(
            namespace=namespace,
            selector=selector
        ):
            print(colour_output(str(pod)))

        List pods
        Syntax:
            pods namespace [selector]
        Selector is in the kubernetes native form: app=something,ver=1
        
powerfulseal/cli/pscmd.py