This repository was archived by the owner on Oct 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
src/main/kotlin/slack/cli/shellsentry Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
+ 2.2.1
5
+ -----
6
+
7
+ _ 2023-08-24_
8
+
9
+ - Fix ` ShellSentry.create(argv) ` putting the ` --parse-only ` flag in the wrong place.
10
+
4
11
2.2.0
5
12
-----
6
13
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ POM_NAME=Kotlin CLI Util
13
13
POM_ARTIFACT_ID =kotlin-cli-util
14
14
POM_PACKAGING =jar
15
15
GROUP =com.slack.cli
16
- VERSION_NAME =2.3.0-SNAPSHOT
16
+ VERSION_NAME =2.2.1
17
17
POM_DESCRIPTION =Kotlin CLI utilities, mostly intended for use with Clikt.
18
18
POM_URL =https://github.com/slackhq/kotlin-cli-util/
19
19
POM_SCM_URL =https://github.com/slackhq/kotlin-cli-util/
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ public data class ShellSentry(
136
136
public companion object {
137
137
/* * Creates a new instance with the given [argv] command line args as input. */
138
138
public fun create (argv : Array <String >, echo : (String ) -> Unit ): ShellSentry {
139
- val cli = ShellSentryCli ().apply { main(argv + " --parse-only" ) }
139
+ val cli = ShellSentryCli ().apply { main(listOf ( " --parse-only" ) + argv ) }
140
140
return create(cli, echo)
141
141
}
142
142
You can’t perform that action at this time.
0 commit comments