def handle(self, *args, **options):
self._connection = Auth()._get_connection()<EOL>if len(args) == <NUM_LIT:0>:<EOL><INDENT>containers = self._connection.list_containers()<EOL>if not containers:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT><DEDENT>elif len(args) == <NUM_LIT:1>:<EOL><INDENT>containers = self._connection.list_container_object_names(args[<NUM_LIT:0>])<EOL>if not containers:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise CommandError("<STR_LIT>")<EOL><DEDENT>for container in containers:<EOL><INDENT>print(container)<EOL><DEDENT>
Lists all the items in a container to stdout.