Did I find the right examples for you? yes no

All Samples(8)  |  Call(0)  |  Derive(4)  |  Import(4)
Base class for any mtools command line tool. Adds --version flag and basic control flow. 

src/m/t/mtools-1.1.4/mtools/mgenerate/mgenerate.py   mtools(Download)
 
import mtools.mgenerate.operators as operators
from mtools.util.cmdlinetool import BaseCmdLineTool
 
class MGeneratorTool(BaseCmdLineTool):

src/m/t/mtools-HEAD/mtools/mgenerate/mgenerate.py   mtools(Download)
 
import mtools.mgenerate.operators as operators
from mtools.util.cmdlinetool import BaseCmdLineTool
 
class MGeneratorTool(BaseCmdLineTool):

src/m/t/mtools-1.1.4/mtools/mlaunch/mlaunch.py   mtools(Download)
from operator import itemgetter
 
from mtools.util.cmdlinetool import BaseCmdLineTool
from mtools.util.print_table import print_table
from mtools.version import __version__
class MLaunchTool(BaseCmdLineTool):
 
    def __init__(self):
        BaseCmdLineTool.__init__(self)
 

src/m/t/mtools-HEAD/mtools/mlaunch/mlaunch.py   mtools(Download)
from operator import itemgetter
 
from mtools.util.cmdlinetool import BaseCmdLineTool
from mtools.util.print_table import print_table
from mtools.version import __version__
class MLaunchTool(BaseCmdLineTool):
 
    def __init__(self):
        BaseCmdLineTool.__init__(self)