def do_kill(self, line):
        """
        Kill a pod
        Syntax:
            kill pod-number
        To show the pod numbers, run cached_pods.
        Executes `sudo docker kill <container ID> for each container in the pod`
        """
        cmd = Command(line)
        pod_num = cmd.get(0)
        if pod_num is None:
            return
        try:
            pod_num = int(pod_num)
        except ValueError:
            return

        # find the pod
        pod = None
        for p in self.k8s_inventory.last_pods:
            if p.num == pod_num:
                pod = p
                break
        if pod is None:
            return print("Pod number not found.")
        if pod.state.lower() != 'running':
            return print("Can't kill pod with state", pod.state)

        # check with the user
        ans = False
        while ans not in ("y", "n"):
            print("Will delete pod '%s' through kubernetes API. Continue ? [y/n]: " % pod)
            ans = input().lower()
        if ans != "y":
            return print("Cancelling")

        # kill the pod
        success = self.executor.kill_pod(pod, self.inventory)
        if success:
            print("Done")
        else:
            print(colored("Could not delete the pod", "red"))

        Kill a pod
        Syntax:
            kill pod-number
        To show the pod numbers, run cached_pods.
        Executes `sudo docker kill <container ID> for each container in the pod`
        
powerfulseal/cli/pscmd.py