You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/CodeEditKit/Targets/Target.swift
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,9 @@ public struct Target: Identifiable {
17
17
* - Parameter executable: The executable to launch inside the pseudo terminal
18
18
* - Parameter args: an array of strings that is passed as the arguments to the underlying process
19
19
* - Parameter environment: an array of environment variables to pass to the child process.
20
-
* - Parameter execName: If provided, this is used as the Unix argv[0] parameter, otherwise, the executable is used as the args [0], this is used when the intent is to set a different process name than the file that backs it.
20
+
* - Parameter execName: If provided, this is used as the Unix argv[0] parameter, otherwise,
21
+
* the executable is used as the args [0], this is used when the intent is to set a different process name
22
+
* than the file that backs it.
21
23
*/
22
24
publicinit(id:String, displayName:String,
23
25
executable:String, args:[String]=[],
@@ -30,21 +32,23 @@ public struct Target: Identifiable {
30
32
self.execName = execName
31
33
}
32
34
33
-
/// ``id`` is a unique identifier of the target set by the extension
35
+
/// `id` is a unique identifier of the target set by the extension
34
36
publicvarid:String
35
37
36
-
/// ``displayName`` is a name to be displayed in the UI to represent target
38
+
/// `displayName` is a name to be displayed in the UI to represent target
37
39
publicvardisplayName:String
38
40
39
-
/// ``executable`` is the executable to launch inside the pseudo terminal
41
+
/// `executable` is the executable to launch inside the pseudo terminal
40
42
publicvarexecutable:String
41
43
42
-
/// ``args`` is an array of strings that is passed as the arguments to the underlying process
44
+
/// `args` is an array of strings that is passed as the arguments to the underlying process
43
45
publicvarargs:[String]=[]
44
46
45
-
/// ``environment`` is an array of environment variables to pass to the child process.
47
+
/// `environment` is an array of environment variables to pass to the child process.
46
48
publicvarenvironment:[String]?
47
49
48
-
/// ``execName`` If provided, this is used as the Unix argv[0] parameter, otherwise, the executable is used as the args [0], this is used when the intent is to set a different process name than the file that backs it.
50
+
/// `execName` If provided, this is used as the Unix argv[0] parameter, otherwise,
51
+
/// the executable is used as the args [0], this is used when the intent is to set a different
0 commit comments