1# The sheet command: nushell's module from 012 nu --install-module, used2# in a nu session. ls's table goes through sheet, three rows are sent3# back and nu keeps filtering them by size; then quitting without4# sending makes sheet fail with 012's reason, which try catches. Needs5# nu on the PATH.6Output out/sheet.gif7Source lib/setup.tape8Set Theme "tokyonight"9Source lib/nu.tape1011# The module goes next to the binary, out of the recording.12Hide13Type "^012 nu --install-module ../bin/012.nu" Enter14Sleep 1s15Type "use ../bin/012.nu *; clear" Enter16Sleep 1s17Show1819Sleep 600ms20Type "ls data | select name size | sort-by size --reverse | sheet | where size > 1kb"21Sleep 600ms22Enter23Sleep 2s24Ctrl+G25Type "A1:B4" Enter26Sleep 1s27Screenshot out/stills/sheet-sheet.png28Ctrl+Q29Sleep 1.6s30Enter31Sleep 2.5s32Screenshot out/stills/sheet-result.png33Type "try { ls data | sheet } catch {|e| $e.msg }"34Sleep 600ms35Enter36Sleep 2s37Ctrl+Q38Sleep 1.4s39Type "d"40Sleep 2.5s41Screenshot out/stills/sheet-error.png42Sleep 1s