Extend nupm using nupm.
nupm-porcelain doesnt do much but it is an example nupm package
Comments welcome. March 2024
- Install nushell if not installed
- Enter nushell
nu
- Install nupm if not installed
nupm - a nushell package manager
test this
cd
cd .config/nushell
mkdir nupm
cd nupm
mkdir modules
git clone git@github.com:nushell/nupm.git --depth 1
use nupm/
- [Optional] My config_local_nupm.nu
bootstrap nupm
I source this at nu startup from config.nu to make nupm available.
- Install nupm-porcelain with nupm
nupm install https://github.com/ddupas/nupm-porcelain
use nupm-porcelain
- [OR] Install nupm-porcelain with git
cd $env.NUPM_HOME # if unset go back to step 2
cd modules
git clone git@github.com:ddupas/nupm-porecelain.git --depth 1
use nupm-porcelain/
nupm-porcelain demonstrates how you can augment packages independently with modules
nupm is a helper for nushells use command, it helps use find modules by being a path manager and module installer
nu-complete only passes a single string between its caller. lookup keys have to be embeded as an enumeration and rehydrated once the value is selected