ni
ni copied to clipboard
Export command generators
Clear and concise description of the problem
Export i.e. yarnInstall(packages: string[])
which would generate yarn install foo
, and a generic install(pm: PackageManager, packages: string [])
Suggested solution
Simply extract and export internal functionality
Alternative
No response
Additional context
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guide.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Why u use install(pm: PackageManager, packages: string []) instead of ni packageA packageB...? The latter command is more concise.