adobe / adobe/aio-cli

Support `aio app init` to initialize app builder project without template but use the current code base as it is

Open
#755 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
95
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Hi team, is there a command similar to aio app init but initializes an app builder project with "the current code base" without using any template or generating an empty project? The situation is that users have downloaded our partners' code locally but we'd like to give an option for these users to create an app builder project from CLI, which aio app use doesn't cover. Note that the partners' code wouldn't be available in git so aio app init --repo is not applicable. Let me know if you have any insight on this, thanks!
```
# what we need is without --repo, it gives an option to create an app builder project in Console from CLI.
# An example to create an app builder project from CLI
# https://developer.adobe.com/commerce/extensibility/starter-kit/checkout/getting-started/#initial-configuration
aio app init --repo adobe/commerce-checkout-starter-kit --github-pat $GITHUB_PAT

? Select Org:
? Select a Project, or press + to create new:
? > do you wish to create a new Project? Yes
Enter Project details:
? Name:
? Title:
? Description:
```
- Reference: https://magento.slack.com/archives/C013UDBFBGB/p1752008705614339

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing `aio app init` and `aio app use` command entry points and comparing their project-creation flows. Confirm how the CLI currently handles `--repo`, then define and test the local-code path so it creates an App Builder project without a template or repository while preserving the current code base.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.