Coverage for /usr/local/lib/python3.11/dist-packages/pyrocko/squirrel/tool/commands/snuffler.py: 50%
10 statements
« prev ^ index » next coverage.py v6.5.0, created at 2023-10-06 15:01 +0000
« prev ^ index » next coverage.py v6.5.0, created at 2023-10-06 15:01 +0000
1# http://pyrocko.org - GPLv3
2#
3# The Pyrocko Developers, 21st Century
4# ---|P------/S----------~Lg----------
6'''
7Implementation of :app:`squirrel snuffler`.
8'''
11headline = 'Experimental Squirrel-powered Snuffler.'
14def make_subparser(subparsers):
15 return subparsers.add_parser(
16 'snuffler',
17 help=headline,
18 description=headline)
21def setup(parser):
22 parser.add_squirrel_selection_arguments()
25def run(parser, args):
26 squirrel = args.make_squirrel()
27 squirrel.downloads_enabled = False
28 squirrel.pile.snuffle()