quarchpy 2.1.20.dev1__py2.py3-none-any.whl → 2.1.20.dev3__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- quarchpy/.idea/.name +1 -1
- quarchpy/.idea/inspectionProfiles/Project_Default.xml +26 -0
- quarchpy/.idea/modules.xml +0 -1
- quarchpy/.idea/quarchpy.iml +1 -4
- quarchpy/.idea/workspace.xml +25 -230
- quarchpy/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/__pycache__/_version.cpython-311.pyc +0 -0
- quarchpy/__pycache__/connection.cpython-311.pyc +0 -0
- quarchpy/__pycache__/run.cpython-311.pyc +0 -0
- quarchpy/_version.py +1 -1
- quarchpy/config_files/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/config_files/__pycache__/quarch_config_parser.cpython-311.pyc +0 -0
- quarchpy/connection_specific/QPS/qis/help.txt +12 -4
- quarchpy/connection_specific/QPS/qis/qis.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/CInterface-1.7.8.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Collections-2.4.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Desktop-1.1.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Executor-3.13.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/JNA-1.2.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/OS-1.8.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/QuarchCommon-0.2.9.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/SystemTray-4.4.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Updates-1.1.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Utilities-1.46.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/commons-csv-1.8.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/javassist-3.29.2-GA.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/jna-jpms-5.12.1.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/jna-platform-jpms-5.12.1.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/kotlin-stdlib-1.9.21.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/slf4j-api-2.0.9.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/slf4j-simple-2.0.9.jar +0 -0
- quarchpy/connection_specific/QPS/qis/resources/filters/Example.txt +36 -0
- quarchpy/connection_specific/QPS/qis/resources/filters/filters.csv +1004 -0
- quarchpy/connection_specific/QPS/qis/resources/filters/iec_filters.xml +26 -0
- quarchpy/connection_specific/QPS/qis/resources/filters/iec_filters.xml.bak +26 -0
- quarchpy/connection_specific/QPS/qps.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/QuarchCommon-0.2.9.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/commons-lang3-3.12.0.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/opencsv-5.9.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/qis-1.40.jar +0 -0
- quarchpy/connection_specific/QPS/scriptCommands.txt +2 -2
- quarchpy/connection_specific/__pycache__/StreamChannels.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_QIS.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_QPS.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_ReST.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_Serial.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_TCP.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_Telnet.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_USB.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_mDNS.cpython-311.pyc +0 -0
- quarchpy/connection_specific/connection_QIS.py +5 -3
- quarchpy/connection_specific/connection_QIS.py.bak +1738 -0
- quarchpy/connection_specific/serial/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/serialutil.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/serialwin32.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/win32.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/list_ports.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/list_ports_common.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/list_ports_windows.cpython-311.pyc +0 -0
- quarchpy/connection_specific/usb_libs/__pycache__/libusb1.cpython-311.pyc +0 -0
- quarchpy/connection_specific/usb_libs/__pycache__/usb1.cpython-311.pyc +0 -0
- quarchpy/debug/TextScanIP.py +11 -0
- quarchpy/debug/__pycache__/SystemTest.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/module_debug.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/simple_terminal.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/upgrade_quarchpy.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/versionCompare.cpython-311.pyc +0 -0
- quarchpy/debug/simple_terminal.py +29 -25
- quarchpy/device/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/device.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/quarchArray.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/quarchPPM.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/quarchQPS.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/scanDevices.cpython-311.pyc +0 -0
- quarchpy/device/device.py.bak +504 -0
- quarchpy/device/quarchPPM.py.bak +67 -0
- quarchpy/device/quarchQPS.py.bak +396 -0
- quarchpy/device/scanDevices.py +78 -86
- quarchpy/device/scanDevices.py.bak +126 -106
- quarchpy/disk_test/__pycache__/AbsDiskFinder.cpython-311.pyc +0 -0
- quarchpy/disk_test/__pycache__/DiskTargetSelection.cpython-311.pyc +0 -0
- quarchpy/disk_test/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/disk_test/__pycache__/iometerDiskFinder.cpython-311.pyc +0 -0
- quarchpy/docs/CHANGES.rst +10 -0
- quarchpy/docs/CHANGES.rst.bak +364 -0
- quarchpy/docs/_build/doctrees/CHANGES.doctree +0 -0
- quarchpy/docs/_build/doctrees/environment.pickle +0 -0
- quarchpy/docs/_build/doctrees/source/changelog.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.fio.doctree +0 -0
- quarchpy/docs/_build/html/CHANGES.html +121 -113
- quarchpy/docs/_build/html/_sources/CHANGES.rst.txt +6 -1
- quarchpy/docs/_build/html/_static/alabaster.css +14 -9
- quarchpy/docs/_build/html/_static/basic.css +1 -1
- quarchpy/docs/_build/html/_static/pygments.css +1 -1
- quarchpy/docs/_build/html/genindex.html +9 -27
- quarchpy/docs/_build/html/index.html +62 -60
- quarchpy/docs/_build/html/objects.inv +0 -0
- quarchpy/docs/_build/html/py-modindex.html +7 -11
- quarchpy/docs/_build/html/readme.html +7 -6
- quarchpy/docs/_build/html/search.html +7 -6
- quarchpy/docs/_build/html/searchindex.js +1 -1
- quarchpy/docs/_build/html/source/changelog.html +176 -167
- quarchpy/docs/_build/html/source/licenses.html +7 -6
- quarchpy/docs/_build/html/source/modules.html +8 -7
- quarchpy/docs/_build/html/source/quarchpy.calibration.html +7 -6
- quarchpy/docs/_build/html/source/quarchpy.config_files.html +7 -6
- quarchpy/docs/_build/html/source/quarchpy.connection_specific.html +7 -6
- quarchpy/docs/_build/html/source/quarchpy.debug.html +7 -6
- quarchpy/docs/_build/html/source/quarchpy.device.html +7 -6
- quarchpy/docs/_build/html/source/quarchpy.disk_test.html +7 -6
- quarchpy/docs/_build/html/source/quarchpy.fio.html +9 -34
- quarchpy/docs/_build/html/source/quarchpy.html +8 -16
- quarchpy/docs/_build/html/source/quarchpy.iometer.html +7 -6
- quarchpy/docs/_build/html/source/quarchpy.qis.html +7 -6
- quarchpy/docs/_build/html/source/quarchpy.qps.html +7 -6
- quarchpy/docs/_build/html/source/quarchpy.user_interface.html +7 -6
- quarchpy/docs/_build/html/source/quarchpy.utilities.html +7 -6
- quarchpy/docs/_build/html/source/readme.html +7 -6
- quarchpy/fio/__pycache__/FIO_interface.cpython-311.pyc +0 -0
- quarchpy/fio/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/fio/__pycache__/fioDiskFinder.cpython-311.pyc +0 -0
- quarchpy/iometer/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/iometer/__pycache__/gen_iometer_template.cpython-311.pyc +0 -0
- quarchpy/iometer/__pycache__/iometerFuncs.cpython-311.pyc +0 -0
- quarchpy/qis/__pycache__/StreamHeaderInfo.cpython-311.pyc +0 -0
- quarchpy/qis/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/qis/__pycache__/qisFuncs.cpython-311.pyc +0 -0
- quarchpy/qis/qisFuncs.py +48 -14
- quarchpy/qps/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/qps/__pycache__/qpsFuncs.cpython-311.pyc +0 -0
- quarchpy/qps/qpsFuncs.py.bak +28 -68
- quarchpy/user_interface/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/user_interface/__pycache__/user_interface.cpython-311.pyc +0 -0
- quarchpy/user_interface/user_interface.py.bak +749 -0
- quarchpy/utilities/TestCenter.py.bak +150 -0
- quarchpy/utilities/__pycache__/BitManipulation.cpython-311.pyc +0 -0
- quarchpy/utilities/__pycache__/TestCenter.cpython-311.pyc +0 -0
- quarchpy/utilities/__pycache__/TimeValue.cpython-311.pyc +0 -0
- quarchpy/utilities/__pycache__/Version.cpython-311.pyc +0 -0
- quarchpy/utilities/__pycache__/__init__.cpython-311.pyc +0 -0
- {quarchpy-2.1.20.dev1.dist-info → quarchpy-2.1.20.dev3.dist-info}/METADATA +11 -1
- {quarchpy-2.1.20.dev1.dist-info → quarchpy-2.1.20.dev3.dist-info}/RECORD +147 -115
- quarchpy/_version.py.bak +0 -1
- quarchpy/connection_specific/connection_mDNS.py.bak +0 -48
- quarchpy/debug/SystemTest.py.bak +0 -188
- quarchpy/fio/FIO_interface.py.bak +0 -322
- quarchpy/run.py.bak +0 -283
- {quarchpy-2.1.20.dev1.dist-info → quarchpy-2.1.20.dev3.dist-info}/WHEEL +0 -0
- {quarchpy-2.1.20.dev1.dist-info → quarchpy-2.1.20.dev3.dist-info}/top_level.txt +0 -0
quarchpy/run.py.bak
DELETED
@@ -1,283 +0,0 @@
|
|
1
|
-
"""
|
2
|
-
This module allows specific quarchpy utilities and embedded applications to be run from the command line
|
3
|
-
using the format:
|
4
|
-
> python -m quarchpy.run [option]
|
5
|
-
"""
|
6
|
-
|
7
|
-
# Import the various functions which need to be called from the command line options
|
8
|
-
from quarchpy.debug.SystemTest import main as systemTestMain
|
9
|
-
from quarchpy.debug.module_debug import parse_arguments as moduleDebugMain
|
10
|
-
from quarchpy.qis.qisFuncs import startLocalQis, isQisRunning, closeQis as closeQIS
|
11
|
-
from quarchpy.qps.qpsFuncs import startLocalQps, isQpsRunning, closeQps as closeQPS
|
12
|
-
from quarchpy.debug.upgrade_quarchpy import main as uprade_quarchpy_main
|
13
|
-
from quarchpy.user_interface import*
|
14
|
-
from quarchpy.debug.simple_terminal import main as simple_terminal_main
|
15
|
-
import sys, logging, traceback
|
16
|
-
|
17
|
-
def main(args):
|
18
|
-
"""
|
19
|
-
Main function parses the arguments from the run command only
|
20
|
-
"""
|
21
|
-
|
22
|
-
# Run the internal parser
|
23
|
-
_parse_run_options(args)
|
24
|
-
|
25
|
-
def _parse_run_options(args):
|
26
|
-
"""
|
27
|
-
Parses the command line argument supplied via the quarchpy.run command line option
|
28
|
-
|
29
|
-
Parameters
|
30
|
-
----------
|
31
|
-
args : list[str]
|
32
|
-
List of arguments to process
|
33
|
-
|
34
|
-
"""
|
35
|
-
|
36
|
-
found = False
|
37
|
-
|
38
|
-
# Arguments may not always be present
|
39
|
-
if (len(args) > 0):
|
40
|
-
# Obtain the list of commands that can be executed
|
41
|
-
run_options = _get_run_options()
|
42
|
-
# Try to locate a matching command name, executing it if found and passing in the remaining parameters
|
43
|
-
main_arg = args[0]
|
44
|
-
for item in run_options:
|
45
|
-
if (item[0] == main_arg or item[1] == main_arg):
|
46
|
-
found = True
|
47
|
-
item[2](args[1:])
|
48
|
-
else:
|
49
|
-
logging.info("No args passed")
|
50
|
-
found = True
|
51
|
-
_run_help_function()
|
52
|
-
|
53
|
-
# If parsing failed, error and print the available commands
|
54
|
-
if (found == False):
|
55
|
-
logging.error("ERROR - Command line argument not recognised")
|
56
|
-
_run_help_function()
|
57
|
-
|
58
|
-
|
59
|
-
def _get_run_options():
|
60
|
-
"""
|
61
|
-
Gets the list of options for quarchpy.run commands which can be called. This is used internally to access the available commands
|
62
|
-
|
63
|
-
Returns
|
64
|
-
-------
|
65
|
-
options_list : list[list[object]]
|
66
|
-
List of call parameters, each of which is a list of objects making up the function description
|
67
|
-
|
68
|
-
"""
|
69
|
-
|
70
|
-
run_options = []
|
71
|
-
|
72
|
-
# [old_name , simple_name , execute_function , help_description]
|
73
|
-
run_options.append (["debug_info" , "debug" , _run_debug_function , "Runs system tests which displays useful information for debugging"])
|
74
|
-
run_options.append ([None , "module_debug", _run_module_debug_function , "Gives debug info on selected module and DUT"])
|
75
|
-
run_options.append ([None , "qcs" , _run_qcs_function , "Launches Quarch Compliance Suite server"])
|
76
|
-
run_options.append (["calibration_tool" , "calibration" , _run_calibration_function , "Runs the Quarch power module calibration tool"])
|
77
|
-
run_options.append ([None , "qis" , _run_qis_function , "Launches Quarch Instrument Server for communication with Quarch power modules"])
|
78
|
-
run_options.append ([None , "qps" , _run_qps_function , "Launches Quarch Power Studios, for power capture and analysis"])
|
79
|
-
run_options.append (["simple_terminal" , "terminal" , _run_simple_terminal_function, "Runs the Simple Terminal script"])
|
80
|
-
run_options.append (["upgrade_quarchpy" , "upgrade" , _run_upgrade_function , "Detects if an update of Quarchpy is available and assists in the upgrade process"])
|
81
|
-
run_options.append (["h" , "help" , _run_help_function , "Displays the help screen with a list of commands supported"])
|
82
|
-
run_options.append (["dd" , "list_drives" , _run_show_drives_function , "Displays a list of shown drives on the current system"])
|
83
|
-
|
84
|
-
return run_options
|
85
|
-
|
86
|
-
def _run_simple_terminal_function(args=None):
|
87
|
-
"""
|
88
|
-
Runs the Simple Terminal script
|
89
|
-
|
90
|
-
Parameters
|
91
|
-
----------
|
92
|
-
None
|
93
|
-
"""
|
94
|
-
simple_terminal_main()
|
95
|
-
|
96
|
-
def _run_debug_function(args=None):
|
97
|
-
"""
|
98
|
-
Executes the python debug/system test option, returning details of the installation to the user
|
99
|
-
for debug purposes
|
100
|
-
|
101
|
-
Parameters
|
102
|
-
----------
|
103
|
-
args : list[str]
|
104
|
-
List of sub arguments to process
|
105
|
-
|
106
|
-
"""
|
107
|
-
|
108
|
-
systemTestMain(args)
|
109
|
-
|
110
|
-
def _run_module_debug_function(args=None):
|
111
|
-
"""
|
112
|
-
Executes the python debug/system test option, returning details of the installation to the user
|
113
|
-
for debug purposes
|
114
|
-
|
115
|
-
Parameters
|
116
|
-
----------
|
117
|
-
args : list[str]
|
118
|
-
List of sub arguments to process
|
119
|
-
|
120
|
-
"""
|
121
|
-
|
122
|
-
moduleDebugMain(args)
|
123
|
-
|
124
|
-
def _run_show_drives_function(args=None):
|
125
|
-
"""
|
126
|
-
Shows a list of current found drives to the user.
|
127
|
-
|
128
|
-
Parameters
|
129
|
-
----------
|
130
|
-
args : list[str]
|
131
|
-
List of sub arguments to process
|
132
|
-
|
133
|
-
"""
|
134
|
-
|
135
|
-
try:
|
136
|
-
import QuarchpyQCS
|
137
|
-
from QuarchpyQCS.hostInformation import HostInformation
|
138
|
-
host_info = HostInformation()
|
139
|
-
host_info.display_drives()
|
140
|
-
except ImportError as err:
|
141
|
-
logging.error(err)
|
142
|
-
logging.error("Drive detection is now in the QCS standalone package. Please install the QCS package via:")
|
143
|
-
logging.error("'Pip install quarchQCS'")
|
144
|
-
logging.error("Then retry this command")
|
145
|
-
|
146
|
-
def _run_qcs_function(args=None):
|
147
|
-
"""
|
148
|
-
Executes the QCS server back end process
|
149
|
-
|
150
|
-
Parameters
|
151
|
-
----------
|
152
|
-
args : list[str]
|
153
|
-
List of sub arguments to process
|
154
|
-
|
155
|
-
"""
|
156
|
-
|
157
|
-
try:
|
158
|
-
import QuarchpyQCS
|
159
|
-
# from QuarchpyQCS.driveTestCore import main as driveTestCoreMain
|
160
|
-
from QuarchpyQCS.driveTestCore import main as driveTestCoreMain
|
161
|
-
driveTestCoreMain(args)
|
162
|
-
except ImportError as err:
|
163
|
-
logging.error(err)
|
164
|
-
logging.error("QCS is now a standalone package. Please install the QCS package via:")
|
165
|
-
logging.error("'Pip install quarchQCS'")
|
166
|
-
logging.error("Then retry this command")
|
167
|
-
|
168
|
-
|
169
|
-
def _run_qis_function(args=None):
|
170
|
-
"""
|
171
|
-
Executes Quarch Instrumentation Server
|
172
|
-
|
173
|
-
Parameters
|
174
|
-
----------
|
175
|
-
args : list[str]
|
176
|
-
List of sub arguments to process
|
177
|
-
|
178
|
-
"""
|
179
|
-
shutdown = False
|
180
|
-
if args != None:
|
181
|
-
for arg in args:
|
182
|
-
if "-shutdown" in arg:
|
183
|
-
shutdown = True
|
184
|
-
if isQisRunning() == True:
|
185
|
-
printText("Closing QIS")
|
186
|
-
closeQIS()
|
187
|
-
break
|
188
|
-
else:
|
189
|
-
printText("QIS is not running")
|
190
|
-
|
191
|
-
if shutdown is False:
|
192
|
-
startLocalQis(args=args)
|
193
|
-
|
194
|
-
|
195
|
-
def _run_qps_function(args=None):
|
196
|
-
"""
|
197
|
-
Executes Quarch Power Studio
|
198
|
-
|
199
|
-
Parameters
|
200
|
-
----------
|
201
|
-
args : list[str]
|
202
|
-
List of sub arguments to process
|
203
|
-
|
204
|
-
"""
|
205
|
-
shutdown = False
|
206
|
-
if args != None:
|
207
|
-
for arg in args:
|
208
|
-
if "-shutdown" in arg:
|
209
|
-
shutdown = True
|
210
|
-
if isQpsRunning() == True:
|
211
|
-
printText("Closing QPS")
|
212
|
-
closeQPS()
|
213
|
-
break
|
214
|
-
else:
|
215
|
-
printText("QPS is not running")
|
216
|
-
|
217
|
-
if shutdown is False:
|
218
|
-
startLocalQps(args=args)
|
219
|
-
|
220
|
-
|
221
|
-
def _run_calibration_function(args=None):
|
222
|
-
"""
|
223
|
-
Executes the calibration utility for power modules
|
224
|
-
|
225
|
-
Parameters
|
226
|
-
----------
|
227
|
-
args : list[str]
|
228
|
-
List of sub arguments to process
|
229
|
-
|
230
|
-
"""
|
231
|
-
try:
|
232
|
-
from quarchCalibration.calibrationUtil import main as calibrationUtilMain
|
233
|
-
retVal = calibrationUtilMain(args)
|
234
|
-
return retVal
|
235
|
-
except ImportError as err:
|
236
|
-
#TODO check err for a more specific "quarchCalibration" cannot be found rather than a generic import error
|
237
|
-
|
238
|
-
logging.error("Quarch Calibration is now in the quarchCalibration package. Please install the quarchCalibration package via:")
|
239
|
-
logging.error("'pip install quarchCalibration'")
|
240
|
-
logging.error("Then retry this command")
|
241
|
-
traceback.print_exc()
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
def _run_upgrade_function(args=None):
|
247
|
-
"""
|
248
|
-
Checks for updates to quarchpy and runs the update process if required
|
249
|
-
|
250
|
-
Parameters
|
251
|
-
----------
|
252
|
-
args : list[str]
|
253
|
-
List of sub arguments to process
|
254
|
-
|
255
|
-
"""
|
256
|
-
|
257
|
-
uprade_quarchpy_main(args)
|
258
|
-
|
259
|
-
|
260
|
-
def _run_help_function(args=None):
|
261
|
-
"""
|
262
|
-
Shows the quarchpy.run help screen
|
263
|
-
|
264
|
-
Parameters
|
265
|
-
----------
|
266
|
-
args : list[str]
|
267
|
-
List of sub arguments to process
|
268
|
-
|
269
|
-
"""
|
270
|
-
|
271
|
-
printText("quarchpy.run -[Command]")
|
272
|
-
# Iterate through all of the possible commands and print a nice help string for each
|
273
|
-
run_options = _get_run_options()
|
274
|
-
display_options = []
|
275
|
-
for item in run_options:
|
276
|
-
short_name = item[1]
|
277
|
-
description = item[3]
|
278
|
-
display_options.append([short_name,description])
|
279
|
-
displayTable(display_options, align="l", tableHeaders=["Command", "Description"])
|
280
|
-
|
281
|
-
if __name__ == "__main__":
|
282
|
-
main (["qps"])
|
283
|
-
main (sys.argv[1:])
|
File without changes
|
File without changes
|