code: def command(results_dir, result_id):
      
      campaign = sem.CampaignManager.load(results_dir)
  
      result = campaign.db.get_results(result_id=result_id)[0]
  
      click.echo("Simulation command:")
      click.echo(sem.utils.get_command_from_result(campaign.db.get_script(),
                                                   result))
      click.echo("Debug command:")
      click.echo(sem.utils.get_command_from_result(campaign.db.get_script(),
                                                   result,
                                                   debug=True))
docs: Print the command that needs to be used to reproduce a result.