nu_plugin_template

Crates.ionu_plugin_template
lib.rsnu_plugin_template
version0.106.1
created_at2024-09-03 07:29:54.93928+00
updated_at2025-08-08 13:53:17.591715+00
descriptionTemplating in Nushell, powered by TinyTemplate
homepage
repositoryhttps://github.com/kaathewisegit/nugins
max_upload_size
id1361423
size60,510
Andrej KolĨin (kaathewisegit)

documentation

README

Templating

Simple string templating for Nushell, powered by TinyTemplate.

Usage

~> "Running task {name}
	Processing files {{ for file in files -}}
	{file} {{- if not @last}}, {{ endif }}
	{{- endfor }}.

	{{ if result.success -}}
	Output: {result.output}
	{{- else -}}
	Failure!
	{{- endif -}}"
	| template {
		name: check
		files: [main.rs, util.rs, json.rs]
		result: { success: true, output: "No errors found" }
	}
Running task check
Processing files main.rs, util.rs, json.rs.

Output: No errors found

For the full syntax description, see the TinyTemplate docs.

Commit count: 164

cargo fmt