diff --git a/src/main/kotlin/cli.kt b/src/main/kotlin/cli.kt index b3e9a50..2c32b1a 100644 --- a/src/main/kotlin/cli.kt +++ b/src/main/kotlin/cli.kt @@ -131,6 +131,8 @@ public fun cliReturning( } val finalFunc = func ?: if(useInteractive) { + setup.isAccessible = true + setup.callBy(envArgs) interactiveMode(available) return null } else {