ionic-team / ionic-team/ionic-cli

[beta.12] support passing raw arguments to hooks

Đang mở
#1,407 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.