src/eric7/Globals/AppInfo.py

branch
eric7
changeset 9221
bf71ee032bb4
parent 9209
b99e7fd55fd3
child 9413
80c06d472826
equal deleted inserted replaced
9220:e9e7eca7efee 9221:bf71ee032bb4
11 11
12 12
13 def makeAppInfo(argv, name, arg, description, options=None): 13 def makeAppInfo(argv, name, arg, description, options=None):
14 """ 14 """
15 Module function to generate a dictionary describing the application. 15 Module function to generate a dictionary describing the application.
16 16
17 @param argv list of commandline parameters (list of strings) 17 @param argv list of commandline parameters (list of strings)
18 @param name name of the application (string) 18 @param name name of the application (string)
19 @param arg commandline arguments (string) 19 @param arg commandline arguments (string)
20 @param description text describing the application (string) 20 @param description text describing the application (string)
21 @param options list of additional commandline options 21 @param options list of additional commandline options
28 "bin": argv[0], 28 "bin": argv[0],
29 "arg": arg, 29 "arg": arg,
30 "name": name, 30 "name": name,
31 "description": description, 31 "description": description,
32 "version": Version, 32 "version": Version,
33 "options": [] if options is None else options[:] 33 "options": [] if options is None else options[:],
34 } 34 }

eric ide

mercurial