Skip to content

Commit 845f932

Browse files
committed
feat: add usage
1 parent fef2018 commit 845f932

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

system/Commands/Database/ShowTableInfo.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,16 @@ class ShowTableInfo extends BaseCommand
4848
*
4949
* @var string
5050
*/
51-
protected $usage = 'db:table [<table_name>] [options]';
51+
protected $usage = <<<'EOL'
52+
db:table [<table_name>] [options]
53+
54+
Examples:
55+
db:table --show
56+
db:table --metadata
57+
db:table my_table --metadata
58+
db:table my_table
59+
db:table my_table --limit-rows 5 --limit-field-value 10 --desc
60+
EOL;
5261

5362
/**
5463
* The Command's arguments

0 commit comments

Comments
 (0)