<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_export_command(self, directory, revision):
 """Get the command to export the complete tree from the local repository."""

        shell_command = 'git archive %s | tar --extract --directory=%s'
        return [shell_command % (quote(revision), quote(directory))]