1# http://pyrocko.org - GPLv3 

2# 

3# The Pyrocko Developers, 21st Century 

4# ---|P------/S----------~Lg---------- 

5 

6from __future__ import absolute_import, print_function 

7 

8from .. import common 

9 

10 

11def setup_subcommand(subparsers): 

12 return common.add_parser( 

13 subparsers, 'snuffler', 

14 help='View in Snuffler.') 

15 

16 

17def setup(parser): 

18 common.add_selection_arguments(parser) 

19 

20 

21def call(parser, args): 

22 squirrel = common.squirrel_from_selection_arguments(args) 

23 squirrel.pile.snuffle()