"""This command opens a bash shell in the docker container."""

from . import DodoCommand


class Command(DodoCommand):  # noqa
    decorators = [
        "docker",
    ]

    def handle_imp(self, **kwargs):  # noqa
        self.runcmd(
            ['/bin/bash'],
            cwd=self.get_config("/DOCKER/default_cwd", None)
        )

@@ -143,32 +143,122 @@
  = %5B
-%0A        %22docker%22,%0A    %5D
+%22docker%22, %5D%0A%0A    def add_arguments_imp(self, parser):  # noqa%0A        parser.add_argument('--command', default=%22%22)
 %0A%0A  
@@ -279,16 +279,25 @@
 mp(self,
+ command,
  **kwarg
@@ -342,17 +342,17 @@
        %5B
-'
+%22
 /bin/bas
@@ -356,10 +356,49 @@
 bash
-'%5D
+%22%5D + (%5B%22-c%22, command%5D if command else %5B%5D)
 ,%0A  
@@ -455,19 +455,10 @@
 %22, None)
-%0A        
 )%0A

Add option --command to "dodo docker"