Sha256: 831517b47540e75928c2a4e9c036c4c430db87fc840707c3834731150adeba01
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
#!/usr/bin/env python # -*- coding: utf-8 -*- # PYTHON_ARGCOMPLETE_OK import argcomplete import argparse import os import subproces import sys import pprint class Ehb: PATH_SEP = '.' def __init__(self, args): self.__args = args def run(self): print("It is a stub") if __name__ == "__main__": parser = argparse.ArgumentParser(description='Coleção de scripts EHB.') parser.add_argument('-c', '--categories', action='store_true', help='Mostra as categorias de programas') parser.add_argument('-s', '--settings', action='store_true', help='Mostra os valores para as configurações') parser.add_argument('program', nargs="?", default='').completer = Ehb.programArgumentCompleter parser.add_argument('arg', nargs=argparse.REMAINDER) argcomplete.autocomplete(parser) args = parser.parse_args() Ehb(args).run()
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eac_tools-0.83.0 | sub/avm-eac_python_base0/spec/lib/avm/eac_python_base0/file_formats/base_spec_files/python_code.target |