Skip to content

Commit 08ca77e

Browse files
committed
improve --environment description.
1 parent f73102b commit 08ca77e

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

src/arguments/debug.mts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { ArgsDef } from 'citty'
33
export const DebugArg = {
44
debug: {
55
default: false,
6-
description: 'Show debug information',
6+
description: 'Show debug information.',
77
type: 'boolean',
88
},
99
} satisfies ArgsDef

src/arguments/environment.mts

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import type { ArgsDef } from 'citty'
33
export const EnvironmentArg = {
44
environment: {
55
alias: 'e',
6-
description: 'The environment to use',
6+
description:
7+
'Apply environment-specific overrides to the configuration. See https://github.com/unjs/c12#environment-specific-configuration for more information.',
78
type: 'string',
89
valueHint: 'prod | dev | test | ...',
910
},

src/arguments/extension.mts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const ExtensionArg = {
66
extension: {
77
alias: 'x',
88
default: 'ts',
9-
description: 'The file extension to use',
9+
description: 'The file extension to use.',
1010
type: 'string',
1111
valueHint: EXTENSIONS.map((extension) => `"${extension}"`).join(' | '),
1212
},

src/arguments/migration-name.mts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { ArgsDef } from 'citty'
33
export const createMigrationNameArg = (required = false) =>
44
({
55
migration_name: {
6-
description: 'Migration name to run/undo',
6+
description: 'Migration name to run/undo.',
77
required,
88
type: 'positional',
99
},

src/arguments/no-outdated-notice.mts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { ArgsDef } from 'citty'
33
export const NoOutdatedCheckArg = {
44
'no-outdated-check': {
55
description:
6-
'Will not check for latest kysely/kysely-ctl versions and notice newer versions exist',
6+
'Will not check for latest kysely/kysely-ctl versions and notice newer versions exist.',
77
type: 'boolean',
88
},
99
} satisfies ArgsDef

0 commit comments

Comments
 (0)