Skip to content

nu

nu documentation

footman._stubs.nu.Nu

Bases: Tool

__call__

__call__(command: str, /, **flags: Any) -> Result

Run a command string in nushell — nu -c "<command>".

A real shell: pipes, redirects, globbing and $VAR all work. Reach for this when you deliberately want a shell; run("…") stays shell-free.

Parameters:

Name Type Description Default
command str

the command line to run in nushell.

required