docs: def status(ctx, client, revision, no_output, path):
      """Show a status of the repository."""
      graph = Graph(client)
      # TODO filter only paths = {graph.normalize_path(p) for p in path}
      status = graph.build_status(revision=revision, can_be_cwl=no_output)
  
      click.echo('On branch {0}'.format(client.repo.active_branch))
      if status['outdated']:
          click.echo(
              'Files generated from newer inputs:\n'
              '  (use "renku log [<file>...]" to see the full lineage)\n'
              '  (use "renku update [<file>...]" to '
              'generate the file from its latest inputs)\n'
          )
  
          for filepath, stts in sorted(status['outdated'].items()):
              outdated = (
                  ', '.join(
                      '{0}#{1}'.format(
                          click.style(
                              graph._format_path(n.path), fg='blue', bold=True
                          ),
                          _format_sha1(graph, n),
                      ) for n in stts
                      if n.path and n.path not in status['outdated']
                  )
              )
  
              click.echo(
                  '\t{0}: {1}'.format(
                      click.style(
                          graph._format_path(filepath), fg='red', bold=True
                      ), outdated
                  )
              )
  
          click.echo()
  
      else:
          click.secho(
              'All files were generated from the latest inputs.', fg='green'
          )
  
      if status['multiple-versions']:
          click.echo(
              'Input files used in different versions:\n'
              '  (use "renku log --revision <sha1> <file>" to see a lineage '
              'for the given revision)\n'
          )
  
          for filepath, files in sorted(status['multiple-versions'].items()):
              # Do not show duplicated commits!  (see #387)
              commits = {_format_sha1(graph, key) for key in files}
              click.echo(
                  '\t{0}: {1}'.format(
                      click.style(
                          graph._format_path(filepath), fg='blue', bold=True
                      ), ', '.join(commits)
                  )
              )
  
          click.echo()
  
      if status['deleted']:
          click.echo(
              'Deleted files used to generate outputs:\n'
              '  (use "git show <sha1>:<file>" to see the file content '
              'for the given revision)\n'
          )
  
          for filepath, node in status['deleted'].items():
              click.echo(
                  '\t{0}: {1}'.format(
                      click.style(
                          graph._format_path(filepath), fg='blue', bold=True
                      ), _format_sha1(graph, node)
                  )
              )
  
          click.echo()
  
      ctx.exit(1 if status['outdated'] else 0)