nushell-usage
Installation
SKILL.md
Nushell Usage Patterns
Critical Distinctions
Pipeline Input vs Parameters
CRITICAL: Pipeline input ($in) is NOT interchangeable with function parameters!
# ❌ WRONG - treats $in as first parameter
def my-func [list: list, value: any] {
$list | append $value
}
# ✅ CORRECT - declares pipeline signature
def my-func [value: any]: list -> list {
$in | append $value
}