Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
usr
/
share
/
rhsm
/
subscription_manager
/
Upload File :
New :
File
Dir
//proc/self/root/usr/share/rhsm/subscription_manager/cli.pyc
mς x^Sc @ s d k Z d k Z d k Z d k l Z l Z e i Z d k l Z l Z d e f d YZ d e f d YZ d f d YZ d d Z d S( N( s columnizes _echo( s OptionParsers WrappedIndentedHelpFormattert InvalidCLIOptionErrorc B s t Z d Z RS( Nc C s1 t i | | t | d p | | _ n d S( Nt message( t Exceptiont __init__t selfR t hasattr( R R ( ( t+ /usr/share/rhsm/subscription_manager/cli.pyR s ( t __name__t __module__R ( ( ( R R s t AbstractCLICommandc B sJ t Z d Z d e e e d Z e d Z d Z d Z d Z RS( sW Base class for rt commands. This class provides a templated run strategy. t clic C sV | | _ | | _ | | _ | p g | _ t d | i d | d t | _ d S( Nt usaget descriptiont formatter( t nameR t shortdesct primaryt aliasest OptionParsert _get_usaget WrappedIndentedHelpFormattert parser( R R R R R ( ( R R ' s c C s t d d S( Ns. Commands must implement: main(self, args=None)( t NotImplementedError( R t args( ( R t main2 s c C s d S( s| Validates the command's arguments. @raise InvalidCLIOptionError: Raised when arg validation fails. N( ( R ( ( R t _validate_options5 s c C s t d | i S( Ns %%prog %s [OPTIONS]( t _R R ( R ( ( R R = s c C s t d d S( s: Does the work that this command intends. s* Commands must implement: _do_command(self)N( R ( R ( ( R t _do_commandB s ( R R t __doc__t Nonet FalseR R R R R ( ( ( R R "