1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-07-30 13:47:46 +00:00
nu_scripts/stdlib-candidate-archive/std-rfc
Douglas 5869e0b529
Deprecate the nu_scripts version of stdlib-candidate (#1042)
Deprecates the existing `stdlib-candidate` directories in `nu_scripts`
since `std-rfc` has now transitioned to the main repo. Updates readme
and renamed directories.
2025-02-09 14:34:40 -06:00
..
aggregate Deprecate the nu_scripts version of stdlib-candidate (#1042) 2025-02-09 14:34:40 -06:00
clip Deprecate the nu_scripts version of stdlib-candidate (#1042) 2025-02-09 14:34:40 -06:00
conversions Deprecate the nu_scripts version of stdlib-candidate (#1042) 2025-02-09 14:34:40 -06:00
kv Deprecate the nu_scripts version of stdlib-candidate (#1042) 2025-02-09 14:34:40 -06:00
path Deprecate the nu_scripts version of stdlib-candidate (#1042) 2025-02-09 14:34:40 -06:00
tables Deprecate the nu_scripts version of stdlib-candidate (#1042) 2025-02-09 14:34:40 -06:00
mod.nu Deprecate the nu_scripts version of stdlib-candidate (#1042) 2025-02-09 14:34:40 -06:00
README.md Deprecate the nu_scripts version of stdlib-candidate (#1042) 2025-02-09 14:34:40 -06:00

std-rfc is the root directory for modules and commands under consideration for the Nushell Standard Library.

As a part of the the larger nu_scripts mono-repo, users may find it more convenient (and efficient) to checkout std-rfc separately.

This can be done in Nushell using:

let spec = {
  repo: 'https://github.com/nushell/nu_scripts'
  sparse_dir: 'stdlib-candidate/std-rfc'
  branch: 'main'
}

# Change to the parent directory location before running
let install_dir = './nu_scripts'

mkdir $install_dir
git -C $install_dir init
git -C $install_dir remote add origin $spec.repo
git -C $install_dir sparse-checkout set --no-cone --sparse-index $spec.sparse_dir
git -C $install_dir fetch --depth 1 --filter=blob:none origin $spec.branch
git -C $install_dir checkout $spec.branch

Then imported using:

use ./nu_scripts/stdlib-candidate/std-rfc/<module>
# or
use ./nu_scripts/stdlib-candidate/std-rfc/<module> *

A sparse git checkout like the one above requires the full parent path from the repository, but you can symlink the std-rfc directory to a more convenient location if you prefer.