Exemplo n.º 1
0
def cgruDocs(): cgrudocs.show()
def confReload(): cgruconfig.Config()
Exemplo n.º 2
0
Arquivo: docs.py Projeto: AlbertR/cgru
def docsNuke():
	cgrudocs.show('nuke')
Exemplo n.º 3
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys

cgru_location_Var = 'CGRU_LOCATION'

cgru_location = os.getenv(cgru_location_Var)
if cgru_location is None or cgru_location == '':
	cgru_location = os.path.abspath(sys.argv[0])
	cgru_location = os.path.dirname(cgru_location)
	cgru_location = os.path.dirname(cgru_location)
	os.putenv(cgru_location_Var, cgru_location)
	os.environ[cgru_location_Var] = cgru_location

cgru_python = os.getenv('CGRU_PYTHON')
if cgru_python is None or cgru_python == '':
	sys.path.append(os.path.join(cgru_location, 'lib/python'))

import cgrudocs

path = None
if len(sys.argv) > 1:
	path = sys.argv[1]

cgrudocs.show(path)
Exemplo n.º 4
0
def cgruDocs():
    cgrudocs.show()
Exemplo n.º 5
0
Arquivo: docs.py Projeto: AlbertR/cgru
def docsCGRU():
	cgrudocs.show()
Exemplo n.º 6
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys

import cgrudocs

from optparse import OptionParser
Parser = OptionParser(usage="%prog [Options] output\nType \"%prog -h\" for help", version="%prog 1.0")
Parser.add_option('-V', '--verbose', dest='verbose', action='store_true', default=False, help='Verbose mode')
Parser.add_option('-D', '--debug',   dest='debug',   action='store_true', default=False, help='Debug mode')
Options, Args = Parser.parse_args()

if Options.debug:
	Options.verbose = True

Path = None
if len(Args):
	Path = Args[-1]

cgrudocs.show( Path)

Exemplo n.º 7
0
def docsNuke():
    cgrudocs.show('nuke')
Exemplo n.º 8
0
def docsCGRU():
    cgrudocs.show()
Exemplo n.º 9
0
import sys

import cgrudocs

from optparse import OptionParser
Parser = OptionParser(
    usage="%prog [Options] output\nType \"%prog -h\" for help",
    version="%prog 1.0")
Parser.add_option('-V',
                  '--verbose',
                  dest='verbose',
                  action='store_true',
                  default=False,
                  help='Verbose mode')
Parser.add_option('-D',
                  '--debug',
                  dest='debug',
                  action='store_true',
                  default=False,
                  help='Debug mode')
Options, Args = Parser.parse_args()

if Options.debug:
    Options.verbose = True

Path = None
if len(Args):
    Path = Args[-1]

cgrudocs.show(Path)
Exemplo n.º 10
0
def cgruDocs():
	cgrudocs.show()