Skip to content

Added shortcut R and W for gen:model#1730

Merged
limingxinleo merged 3 commits into
hyperf:masterfrom
limingxinleo:1.1-shortcut
May 14, 2020
Merged

Added shortcut R and W for gen:model#1730
limingxinleo merged 3 commits into
hyperf:masterfrom
limingxinleo:1.1-shortcut

Conversation

@limingxinleo
Copy link
Copy Markdown
Member

No description provided.

$this->addOption('table-mapping', 'M', InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, 'Table mappings for model.');
$this->addOption('ignore-tables', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, 'Ignore tables for creating models.');
$this->addOption('with-comments', null, InputOption::VALUE_NONE, 'Whether generate the property comments for model.');
$this->addOption('with-comments', 'W', InputOption::VALUE_NONE, 'Whether generate the property comments for model.');
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里我觉得不太合适,后面如何还有其他的 with-xxx 呢?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嗯,已经去掉了,只加了一个 R

@limingxinleo limingxinleo merged commit 78d2df0 into hyperf:master May 14, 2020
@limingxinleo limingxinleo deleted the 1.1-shortcut branch May 14, 2020 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants