def do_pods_for_deployment(self, line):
        """
        List pods for a deployment
        Syntax:
            pods_for_deployment namespace deployment-name
        """
        cmd = Command(line)
        namespace = cmd.get(0)
        deployment_name = cmd.get(1)
        for pod in self.k8s_inventory.find_pods(
            namespace=namespace,
            deployment_name=deployment_name,
        ):
            print(colour_output(str(pod)))

        List pods for a deployment
        Syntax:
            pods_for_deployment namespace deployment-name
        
powerfulseal/cli/pscmd.py