Skip to content

Add headless command-line support - #24

Open
matteomekhail wants to merge 69 commits into
Wip-Sama:devfrom
matteomekhail:codex/issue-6-toolkit-cli
Open

Add headless command-line support#24
matteomekhail wants to merge 69 commits into
Wip-Sama:devfrom
matteomekhail:codex/issue-6-toolkit-cli

Conversation

@matteomekhail

Copy link
Copy Markdown

Summary

  • route recognized CLI commands before splash and Compose initialization
  • add status, plugins list, flows list, version, and help commands
  • report plugin readiness and use conventional exit codes/stderr
  • preserve existing desktop flags such as --background
  • document commands and test parser isolation

Test

GRADLE_USER_HOME=/private/tmp/orlando-gradle bash gradlew :composeApp:jvmTest --tests org.wip.plugintoolkit.cli.ToolkitCliTest

End-to-end

GRADLE_USER_HOME=/private/tmp/orlando-gradle bash gradlew :composeApp:run --args=--help exits successfully without opening the UI.

Closes #6

…ue-12-divide-plugin-settings

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginSettingsContent.kt
…-4-plugin-defined-ui

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginContent.kt
…ue-12-divide-plugin-settings

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/logic/PluginLifecycleManager.kt
…issue-4-plugin-defined-ui"

This reverts commit f8a237d, reversing
changes made to 774280b.
…issue-4-plugin-defined-ui"

This reverts commit 774280b, reversing
changes made to c38bb10.
…ue-5-standalone-plugin-jar"

This reverts commit fcd5149, reversing
changes made to 56ad0fa.
…/issue-6-toolkit-cli"

This reverts commit 0f42289, reversing
changes made to d50b8cd.
…ue-5-standalone-plugin-jar"

This reverts commit 56ad0fa, reversing
changes made to 62dee07.
…/issue-6-toolkit-cli"

This reverts commit d50b8cd, reversing
changes made to c8e158a.
…efined-ui

# Conflicts:
#	composeApp/src/commonMain/composeResources/values/strings.xml
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginContent.kt
…ndalone-plugin-jar

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/DirectExecutionSidebar.kt
…-toolkit-cli

# Conflicts:
#	composeApp/src/jvmMain/kotlin/org/wip/plugintoolkit/core/utils/PlatformPathUtils.kt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant