tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

cli.py (631B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at https://mozilla.org/MPL/2.0/.
      4 
      5 import click
      6 
      7 from qm_try_analysis.analyze import analyze_qm_failures
      8 from qm_try_analysis.fetch import fetch_qm_failures
      9 from qm_try_analysis.report import report_qm_failures
     10 
     11 
     12 @click.group(context_settings={"show_default": True})
     13 def cli():
     14    pass
     15 
     16 
     17 cli.add_command(fetch_qm_failures, "fetch")
     18 cli.add_command(analyze_qm_failures, "analyze")
     19 cli.add_command(report_qm_failures, "report")
     20 
     21 if __name__ == "__main__":
     22    cli()