cmd_helper

Helper inspection commands for the FABulous REPL.

Small commands that print fabric objects (Bels, tiles) to the console for inspection. Grouped as a CommandSet so they can be registered and, in future, managed independently of the core REPL.

Classes

HelperCommandSet

Commands for inspecting fabric objects from the REPL.

Module Contents

HelperCommandSet

class HelperCommandSet[source]

Bases: ReplCommandSet

Commands for inspecting fabric objects from the REPL.

Private reference to the CLI instance in which this CommandSet running.

This will be set when the CommandSet is registered and it should be accessed by child classes using the self._cmd property.

Methods

do_print_bel(bel) None[source]

Print a Bel object to the console.

do_print_tile(tile) None[source]

Print a tile object to the console.