[vscode-spring-cli] Added boot add command support

This commit is contained in:
aboyko
2024-01-17 19:21:07 -05:00
parent ce45532748
commit edf6396058
5 changed files with 90 additions and 11 deletions

View File

@@ -4,14 +4,13 @@
"use strict";
import * as vscode from "vscode";
import { Cli } from "./cli/core";
import { handleNew } from "./boot-project/boot-project";
import { handleAdd, handleNew } from "./boot-project/boot-project";
export const CLI = new Cli();
export async function activate(context: vscode.ExtensionContext): Promise<void> {
vscode.commands.registerCommand('vscode-spring-cli.new-project', () => {
handleNew({});
});
vscode.commands.registerCommand('vscode-spring-cli.boot.new', handleNew);
vscode.commands.registerCommand('vscode-spring-cli.boot.add', handleAdd);
}
export async function deactivate(): Promise<void> {