260703_01_FST: First Commit

This commit is contained in:
2026-07-03 16:20:48 +09:00
commit 34b8d41a28
55 changed files with 2127 additions and 0 deletions

43
src/types.ts Normal file
View File

@@ -0,0 +1,43 @@
export type DatabaseType = "mysql" | "mssql";
export interface CliOptions {
projectName: string;
targetDir: string;
basePackage: string;
applicationClass: string;
description: string;
port: number;
database: DatabaseType;
mybatis: boolean;
repoUrl: string;
appRoot: string;
serviceName: string;
branch: string;
agentLabel: string;
mavenCredentialId: string;
yes: boolean;
build: boolean;
jenkins: boolean;
force: boolean;
}
export interface ParsedArguments {
projectName?: string;
targetDir?: string;
basePackage?: string;
description?: string;
port?: number;
database?: DatabaseType;
mybatis: boolean;
repoUrl?: string;
appRoot?: string;
serviceName?: string;
branch?: string;
agentLabel?: string;
mavenCredentialId?: string;
yes: boolean;
build: boolean;
jenkins: boolean;
force: boolean;
help: boolean;
}