# this file holds all the texts that commands use # TODO: check out which more should be hidden incompatible_commands = ["input", "exit", "run-external"] [nuju] name = "nuju" description = "Control behavior of the kernel." extra_description = """ You must use one of the following subcommands. Using this command as-is will only produce this help message. """ [display] name = "nuju display" description = "Control the rendering of the current cell's output." extra_description = """ Applies a filter to control how the output of the current cell is displayed. This command can be positioned anywhere within the cell's code. It passes through the cell's data, allowing it to be used effectively as the final command without altering the output content. """ search_terms = ["jupyter", "display", "cell", "output"] [[display.examples]] example = "{a: 3, b: [1, 2, 2]} | nuju display md" description = "Force render output to be markdown" [[display.examples]] example = "{a: 3, b: [1, 2, 2]} | nuju display json" description = "Force render output to be json" [[display.examples]] example = "{a: 3, b: [1, 2, 2]} | table --expand | nuju display txt" description = "Force render output to be a classic nushell table" [external] name = "nuju external" description = "Enable external commands for subsequent cells." extra_description = """ Activates a setting that permits the use of external commands in all subsequent cell evaluations within the notebook. This irreversible change enhances flexibility for advanced tasks. By disabling external commands by default, notebooks become more portable and less likely to encounter failures when run on different machines." """ search_terms = ["jupyter", "external", "run"] [print] name = "nuju print" description = "Display data for this cell." search_terms = ["jupyter", "print", "display", "cell", "output"]