DIRACScript
- class DIRAC.Core.Utilities.DIRACScript.DIRACScript(*args, **kwargs)
Bases:
Script
- __init__(*args, **kwargs)
- classmethod addDefaultOptionValue(option, value)
See
addDefaultEntry()
.
- alreadyInitialized = False
- classmethod disableCS()
See
disableCS()
.
- classmethod enableCS()
See
enableCS()
.
- classmethod getExtraCLICFGFiles()
- classmethod getPositionalArgs(group=False)
- classmethod getUnprocessedSwitches()
- classmethod initialize(script=False, ignoreErrors=False, initializeMonitor=False, enableCommandLine=False)
initialization
- localCfg = <DIRAC.ConfigurationSystem.Client.LocalConfiguration.LocalConfiguration object>
- classmethod parseCommandLine(script=False, ignoreErrors=False, initializeMonitor=False)
Parse command line
- classmethod registerArgument(description, mandatory=True, values=None, default=None)
See
registerCmdArg()
.
- classmethod registerSwitch(showKey, longKey, helpString, callback=False)
See
registerCmdOpt()
.
- scriptName = None
- classmethod setUsageMessage(usageMessage)
See
setUsageMessage()
.
- classmethod showHelp(dummy=False, exitCode=0)
See
showHelp()
.