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

fix: update template argument description #30

Merged
2 changes: 1 addition & 1 deletion lib/src/commands/create/create_service_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class CreateServiceCommand extends Command with ProjectStructureValidator {
abbr: 't',
allowed: kCompiledTemplateTypes[kTemplateNameService],
defaultsTo: 'empty',
help: kCommandHelpCreateAppTemplate,
help: kCommandHelpCreateServiceTemplate,
)
..addOption(
ksConfigPath,
Expand Down
3 changes: 3 additions & 0 deletions lib/src/constants/message_constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ const String kCommandHelpConfigFilePath =

const String kCommandHelpPath = 'Sets the relative path for the component.';

const String kCommandHelpCreateServiceTemplate =
'Selects the type of service to create instead of the default empty service.';

const String kCommandHelpCreateViewTemplate =
'Selects the type of view to create instead of the default empty view.';

Expand Down