ionic-team / ionic-team/ionic-cli
[beta.12] support passing raw arguments to hooks
- Linguagem predominante
- TypeScript
- Estrelas
- 2k
- Forks
- 682
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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)
Guia de contribuição
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- typescript
- Domínio
- cli
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100