Skip to content

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

@kuflower

Description

@kuflower

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: <your-ims-org>
? Select a Project, or press + to create new:
?   > do you wish to create a new Project? Yes
Enter Project details:
? Name: <your-project-name>
? Title: <your-project-title>
? Description: <your-project-description>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions