Did I find the right examples for you? yes no

All Samples(8)  |  Call(0)  |  Derive(8)  |  Import(0)

src/s/a/sat-0.4.1/frontends/src/jp/cmd_profile.py   sat(Download)
class ProfileDelete(base.CommandBase):
    def __init__(self, host):
        super(ProfileDelete, self).__init__(host, 'delete', use_profile=False, help=_('Delete a profile'))
 
    def add_parser_options(self):
class ProfileInfo(base.CommandBase):
    def __init__(self, host):
        super(ProfileInfo, self).__init__(host, 'info', use_profile=False, help=_('Get informations about a profile'))
 
    def add_parser_options(self):
class ProfileList(base.CommandBase):
    def __init__(self, host):
        super(ProfileList, self).__init__(host, 'list', use_profile=False, help=_('List profiles'))
 
    def add_parser_options(self):
class ProfileCreate(base.CommandBase):
    def __init__(self, host):
        super(ProfileCreate, self).__init__(host, 'create', use_profile=False, help=_('Create a new profile'))
 
    def add_parser_options(self):
class Profile(base.CommandBase):
    subcommands = (ProfileDelete, ProfileInfo, ProfileList, ProfileCreate)
 
    def __init__(self, host):
        super(Profile, self).__init__(host, 'profile', use_profile=False, help=_('Profile commands'))

src/s/a/sat-0.4.1/frontends/src/jp/cmd_pipe.py   sat(Download)
class PipeOut(base.CommandBase):
 
    def __init__(self, host):
        super(PipeOut, self).__init__(host, 'out', help=_('Pipe a stream out'))
 
class Pipe(base.CommandBase):
    subcommands = (PipeOut, PipeIn)
 
    def __init__(self, host):
        super(Pipe, self).__init__(host, 'pipe', use_profile=False, help=_('Stream piping through XMPP'))

src/s/a/sat-0.4.1/frontends/src/jp/cmd_message.py   sat(Download)
class Message(base.CommandBase):
 
    def __init__(self, host):
        super(Message, self).__init__(host, 'message', help=_('Send a message to a contact'))