Compare commits

..

3 Commits

Author SHA1 Message Date
Elliot DeNolf
8fe619a221 0.5.0-beta.6 2023-10-07 12:17:44 -04:00
Elliot DeNolf
5195a80dba chore: format db choice title on connection string prompt 2023-10-07 12:17:27 -04:00
Elliot DeNolf
909cf90fa2 chore: add -d shorthand for --db 2023-10-07 12:16:56 -04:00
3 changed files with 3 additions and 2 deletions

View File

@@ -37,7 +37,7 @@
"prompts": "^2.4.2",
"terminal-link": "^2.1.1"
},
"version": "0.5.0-beta.5",
"version": "0.5.0-beta.6",
"devDependencies": {
"@types/command-exists": "^1.2.0",
"@types/degit": "^2.8.3",

View File

@@ -70,7 +70,7 @@ export async function selectDb(
{
type: 'text',
name: 'value',
message: `Enter ${dbChoice.title} connection string`,
message: `Enter ${dbChoice.title.split(' ')[0]} connection string`, // strip beta from title
initial: `${dbChoice.dbConnectionPrefix}${
projectName === '.'
? `payload-${getRandomDigitSuffix()}`

View File

@@ -31,6 +31,7 @@ export class Main {
'--dry-run': Boolean,
'--beta': Boolean,
'-d': '--db',
'-h': '--help',
'-n': '--name',
'-t': '--template',