<s> from . base import BaseCommand <EOL> class SnapshotStatusCommand ( BaseCommand ) : <EOL> command_name = "<STR_LIT>" <EOL> def is_enabled ( self ) : <EOL> return True <EOL> def run_request ( self , repository = None , snapshot = None , ** kwargs ) : <EOL> if not repository : <EOL> self . show_repository_list_panel ( self . run ) <EOL> return <EOL> if not snapshot : <EOL> self . show_snapshot_list_panel ( repository , self . run ) <EOL> return <EOL> options = dict ( <EOL> repository = repository , <EOL> snapshot = snapshot <EOL> ) <EOL> return self . client . snapshot . status ( ** options ) </s>
