Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support New Project creating from templates or KCL model #23

Open
amyXia1994 opened this issue Mar 18, 2023 · 2 comments
Open

support New Project creating from templates or KCL model #23

amyXia1994 opened this issue Mar 18, 2023 · 2 comments
Assignees

Comments

@amyXia1994
Copy link
Contributor

amyXia1994 commented Mar 18, 2023

Feature

For applications that were newly taken over by KusionStack, vscode-kusion needs to support easily creating projects from scratch with no code or a little code.

Design

Low Code init (sequence graph)

create_project_squence

Low Code init (prototype)

The extension loads archetypes listed in local/remote catalog. After selection and initial value setting, the extension calls kusion APIinit(projectName=${name}, template/schema=${template/schema}. There are 2 entries for it:

  • Command Palette -> select Kusion: Create Project from Kusion Archetype
  • Right-click on a folder -> Click Project from Kusion Archetype

The project init view:
image

ref:
image

@amyXia1994
Copy link
Contributor Author

support create and share template on line in the future

@amyXia1994
Copy link
Contributor Author

here are design of maven's create from archetype:

  • select archetype:
    selectAnArchetype
  • redirect creating interface to executing task in terminal:
    redirect_to_terminal
  • create success info:
    created_info
  • create failed error:
    dir_confilct

@amyXia1994 amyXia1994 self-assigned this Apr 17, 2023
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

No branches or pull requests

1 participant