Did I find the right examples for you? yes no

All Samples(7)  |  Call(6)  |  Derive(0)  |  Import(1)

src/i/n/inputexec-0.2.4/inputexec/cli.py   inputexec(Download)
from . import __version__
from .config import Arg, Group, UnifiedParser
from .readers import line as line_readers
class Setup(object):
    description = "Read events from an input device/stream, and run related commands."
    options = [
        Group('', "", [
            Arg('--traceback', help="Include full stack trace on exception", action='store_true'),
        Group('source', "Source", [
        Group('format', "Formatting", [
            Arg('--pattern', help="Formatting pattern", default='{kind}.{symbol}'),
            Arg('--endline', help="End of line substring", default='\\n'),
        Group('action', "Action", [