code: def cli(url, user_agent):
      
      kwargs = {}
      if user_agent:
          kwargs['user_agent'] = user_agent
      archive_url = capture(url, **kwargs)
      click.echo(archive_url)
docs: Archives the provided URL using archive.is.