a/trunk/cforge/cforge/Package/CFORGE/Scripts/list-all.py | b/trunk/cforge/cforge/Package/CFORGE/Scripts/list-all.py | ||
---|---|---|---|
... |
... |
||
3 | import os |
3 | import os |
4 | 4 | ||
5 | from System.Diagnostics import Process |
5 | from System.Diagnostics import Process |
6 | from System.Net import WebClient |
6 | from System.Net import WebClient |
7 | 7 | ||
8 | |||
9 | |||
10 | |||
11 | # This is a cforge command (script file) |
8 | # This is a cforge command (script file) |
12 | # this will be run as ironpython script. |
9 | # this will open the CODESYS PackageManager to list all installed packages |
13 | # the filename of this script is automatically the corresponding cforge command |
10 | |
14 | # with some magic functions you can easily integrate it nicely into cforge tool |
||
15 | 11 | ||
16 | # cforge_usage: |
12 | # cforge_usage: |
17 | # here you can return an array of all possible arguments and options that can |
13 | # here you can return an array of all possible arguments and options that can |
18 | # be passed to this command script |
14 | # be passed to this command script |
19 | def cforge_usage(): |
15 | def cforge_usage(): |