ionic-team / ionic-team/ionic-cli
[beta.12] support passing raw arguments to hooks
- 主要言語
- TypeScript
- スター
- 2k
- フォーク
- 682
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
When running hooks I would like to pass an argument.
For example, the `app-scripts` package can log debug information when passing the `--debug` argument.
`ionic serve --debug` does not work since the `watch` npm script of `app-scripts` is a hook and not the task itself, hooks don't get params passed to them so I can't run it in debug mode.
See [this code](https://github.com/driftyco/ionic-cli/blob/master/lib/cli.js#L297)
コントリビューションガイド
調査の方向性
Start at lib/cli.js around line 297 and trace how hooks are invoked when running ionic serve. Check how command-line arguments are handled for the app-scripts watch hook. Done means raw arguments such as --debug reach the hook so the app-scripts package can act on them.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100