nr is a common shortcut for running any scripts. But most times we will be running these commands during development
nr dev
nr start
nr test
nr build
Suggested solution
Usually, I'll add some aliases to my terminal config
alias nd="nr dev"
alias nt="nr test:w || nr test"
alias nb="nr build"
But I'm thinking it would be good if ni provides it by default.
If worrying about naming conflicts https://github.com/antfu-collective/ni/issues/33, I think ni can support a more generalized solution, like allowing user to configure these aliases in the .nirc file. But seems like to make no difference than configuring in a .zshrc file.
Clear and concise description of the problem
nr
is a common shortcut for running any scripts. But most times we will be running these commands during developmentSuggested solution
Usually, I'll add some aliases to my terminal config
But I'm thinking it would be good if
ni
provides it by default.If worrying about naming conflicts https://github.com/antfu-collective/ni/issues/33, I think
ni
can support a more generalized solution, like allowing user to configure these aliases in the.nirc
file. But seems like to make no difference than configuring in a.zshrc
file.Alternative
No response
Additional context
No response
Validations