nu_scripts/before_v0.60
Igor 13f2c47135
Port before_v0.60/make_release folder (#830)
This PR is part of porting all old scripts #221 and ports `make_release`
folder
## Summary

### make_release/this_week_in_nu_weekly.nu
This script has already been ported and has received some updates: #433.
So I just removed it
```yaml
from: before_v0.60/make_release/this_week_in_nu_weekly.nu
to: make_release/this_week_in_nu_weekly.nu
functions:
    do-work: make_release/this_week_in_nu_weekly.nu:1:query-week-span
```

### make_release/this_week_in_nu_release.nu

I have ported this, but I'm not sure if we need it because it has
strange name and we have `prs.nu` and `make_release/release-note/`

```yaml
from: before_v0.60/make_release/this_week_in_nu_release.nu
to: make_release/this_week_in_nu_release.nu
functions:
    do-work: make_release/this_week_in_nu_release.nu:1:do-work
```

### make_release/nu_release.nu

This has already been ported to `make_release/nu_release.nu` and has
received new updates #828 so I just removed it

```yaml
from: before_v0.60/make_release/nu_release.nu
to: make_release/nu_release.nu
```

### make_release/gen-js-ext.nu
This has already been moved to `make_release/gen-js-ext.nu` and has
received new updates #621 but not completely ported so I have ported it
- pipeline `for` to `each`
- `$nu.scope.commands` to `scope commands`
- explicit `print`
```yaml
from: before_v0.60/make_release/gen-js-ext.nu
to: make_release/gen-js-ext.nu
functions:
  gen_keywords: make_release/gen-js-ext.nu:1:gen_keywords
  gen_sub_keywords: make_release/gen-js-ext.nu:20:gen_sub_keywords
```

### make_release/gen-ts-ext.nu
I have ported this script
```yaml
from: before_v0.60/make_release/gen-ts-ext.nu
to: make_release/gen-ts-ext.nu
functions:
  gen-ts-cmds-begin: make_release/gen-ts-ext.nu:1:gen-ts-cmds-begin
  gen-ts-cmds: make_release/gen-ts-ext.nu:18:gen-ts-cmds
  gen-ts-subs: make_release/gen-ts-ext.nu:40:gen-ts-subs
```
2024-05-13 09:53:13 -04:00
..
assets move assets so they're more accessible (#445) 2023-04-12 08:29:47 -05:00
coloring use typos for corrections (#833) 2024-05-08 06:47:54 -05:00
config_management/separate_startup reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
cool_oneliners Port before_v0.60/cool_oneliners folder (#831) 2024-05-13 07:53:40 -05:00
data_extraction reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
duplicates reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
examples reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
fuzzy reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
git port git_gone to 0.60 era syntax (#170) 2022-03-02 12:26:24 -06:00
language Switch to 'and' and 'or' (#322) 2022-12-08 12:52:10 +13:00
lib reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
ls_mods reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
maths reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
nu_101 reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
parsing reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
progress_bar reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
prompt use typos for corrections (#833) 2024-05-08 06:47:54 -05:00
stdlib_candidate use typos for corrections (#833) 2024-05-08 06:47:54 -05:00
tests reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
virtual_environments reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
weather use typos for corrections (#833) 2024-05-08 06:47:54 -05:00
webscraping reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
with_externals reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
bin-utils.nu reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
fehbg.nu Switch to 'and' and 'or' (#322) 2022-12-08 12:52:10 +13:00
lint_directories.nu Switch to 'and' and 'or' (#322) 2022-12-08 12:52:10 +13:00
maintainer_time.nu reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
make_readme_table.nu reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
README.md reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00

Nushell Scripts

This is a place to share Nushell scripts with each other. If you'd like to share your scripts, create a PR that adds it to the repo.

Running Scripts

You can run nushell scripts in a few different ways.

  1. You can type nu <script name>.
  2. From with nushell, you can type source <script name> and if the script is just a bunch of commands it will run the script. If the script is a custom command it will load those custom commands into your current scope so you can run them like any other command.

Included Scripts

Category File Nu Version Description
coloring color_table.nu 0.26 Produces a color table of ansi foregroupd and background colors.
coloring color_tables.nu 0.26 Produces many tables with ansi foreground and background with styles
coloring gradient.nu 0.26 Draws a simple blue gradient.
coloring nu_index_bg.nu 0.26 Draws background colors using ansi escape sequences using an index
coloring nu_index_fg.nu 0.26 Draws foreground colors using ansi escape sequences using an index
coloring nu_index_fg2.nu 0.26 Draws foreground colors using ansi escape sequences using an index a different way
coloring python_index_table.nu 0.26 Draws foreground and background colors using ansi escape sequences using an index modeled after a python script
coloring ref_table.nu 0.26 A table with row and column headers indicating the colors
coloring sample.nu 0.26 An exhaustive list of colors and styles using ansi escape sequences
coloring short_list.nu 0.26 A small color sample that uses another nu script to define the colors by name.
not assigned yet fehbg.nu >0.25.1 Sets a random image from a directory as a wallpaper (Linux only)
not assigned yet maintainer_time.nu 0.26 Looks up time by timezone for the nushell maintainers
not assigned yet make_readme_table.nu 0.26 Generates this table.
nu_101 demo.nu 0.26 Creates a custom ls command
nu_101 inner_outer_loop.nu 0.26 Demonstrates how to iterate in an inner and outer loop.
parsing sample_andres.nu 0.26 Demonstrates some json parsing.
progress_bar percent_meter.nu 0.26 Draws a percent meter.
progress_bar progress_bar.nu 0.26 Draws a progress bar
progress_bar progress_bar_no_back.nu 0.26 Draws a progress bar with no background
prompt git_status_prompt.nu 0.28 Creates a prompt which includes short working directory and current git status.
stdlib_candidate nu_style.nu 0.26 Define colors as names.
stdlib_candidate print.nu 0.26 Examples of a print statement.
virtual_envs conda.nu 0.32 Activates a Conda environment.
virtual_envs venv.nu 0.32 Activates a Python venv.