1# http://pyrocko.org - GPLv3
2#
3# The Pyrocko Developers, 21st Century
4# ---|P------/S----------~Lg----------
6from __future__ import absolute_import, print_function
8from .. import common
11def setup(subparsers):
12 p = common.add_parser(
13 subparsers, 'snuffler',
14 help='View in Snuffler.')
16 common.add_selection_arguments(p)
17 return p
20def call(parser, args):
21 squirrel = common.squirrel_from_selection_arguments(args)
22 squirrel.pile.snuffle()