Closed und-miller closed 3 weeks ago
Thank you for this feature request.
It has been implemented internally and will be staged for a future release.
We will keep this issue open until this has been added to a public release.
This feature has been implemented as of the latest update.
By default, most application templates will now render with multiple .kit files. This is intentional as we transition many of the templates to be streaming-ready by default.
To see this feature in action, we recommend creating a Kit Service from a fresh clone of the repository. The Service template is not configured (in the templates/templates.toml file) to render a streaming .kit
file and will therefore only create a single .kit
file. Running ./repo.sh launch
with only the Service template rendered will start the service immediately without prompting for .kit
file selection.
Thank you for the feature request!
Feature Request: Automatic Launch of Single Application
Overview
I propose an enhancement to the
kit-app-template\tools\repoman\launch.py
script to automatically launch the application if only one application is available. This improvement will streamline the developer experience by removing the unnecessary prompt when there is only one application to choose from.Current Behavior
When a developer runs
.\repo.bat launch
, they are prompted to select an application, even if there is only one option:Proposed Change
Modify the
select_kit
method inkit-app-template\tools\repoman\launch.py
to automatically launch the application without prompting the developer to select from an option of one.Current Code
New Code
Benefits
User Experience: Streamlines the workflow, making it more intuitive and less cumbersome.