Skip to content

Commit 7dd25cd

Browse files
committed
Add -f shortcut for --force option
1 parent 68ce512 commit 7dd25cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/GenerateDtoCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class GenerateDtoCommand extends Command
2020
*/
2121
protected $signature = 'dto:generate
2222
{--dry-run : Preview changes without writing files}
23-
{--force : Force regeneration of all DTOs}
23+
{--f|force : Force regeneration of all DTOs}
2424
{--config-path= : Path to DTO config files}
2525
{--output-path= : Path for generated DTOs}
2626
{--namespace= : Namespace for generated DTOs}';

src/InitDtoCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class InitDtoCommand extends Command
1313
*/
1414
protected $signature = 'dto:init
1515
{--format=php : Config format (php, xml, yaml)}
16-
{--force : Overwrite existing config file}';
16+
{--f|force : Overwrite existing config file}';
1717

1818
/**
1919
* @var string

0 commit comments

Comments
 (0)