shell detail (Shell)



The deck shell — operate a cyberdeck from the command line with >.

            A cyberdeck is a two-handed rig: pick it up with get <deck>
            (it fills both hands) and power it on. While you are holding a
            powered deck, the > interface is available:

                > status            show hardware, heat, and resources
                > list              list loaded/stored scripts + state
                > man               list your deck's manual pages
                > man <namespace>   read a page, e.g. > man net
                > write <script>    create or edit a script in the editor
                > ./<script> [args] run a loaded script

            Scripts are addressed shell-style with a leading ./ and may take
            arguments. For example:

                > ./probe 198.51.42.7

            passes 198.51.42.7 to the script as arg[1] (further words
            become arg[2], arg[3], ... and #arg is the count).

            > write <name> opens a line editor (:wq to save, :q! to
            cancel). If the script already exists its source is loaded for
            editing; otherwise you start with a blank buffer. The deck must stay
            held and powered while you edit. Assembling and loading scripts is
            still done through the use <deck> menu — the shell creates,
            edits, and runs them.
Decking