cmd_setup¶
Setup and project-management commands for the FABulous REPL.
Install tooling, load a fabric, and clone tiles.
Classes¶
Install tooling, load a fabric, and clone tiles. |
Module Contents¶
SetupCommandSet¶
- class SetupCommandSet[source]¶
Bases:
ReplCommandSetInstall tooling, load a fabric, and clone tiles.
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_clone_tile(src_tile, dst_tile, no_register=False) None[source]¶
Clone a tile or supertile directory and register it in fabric.csv.
Copies the source tile directory to a new destination directory, renaming all files and replacing all internal references to match the new tile name. Also appends the required Tile/Supertile entries to fabric.csv.
Notes
Only works correctly for tiles that follow the default FABulous tile naming scheme, where the tile name is used as a prefix for all files and internal references (e.g.
LUT4AB.csv,LUT4AB_switch_matrix.list).
- do_csv_to_list(input, output, preserve_list_order=False) None[source]¶
Convert a
.csvswitch matrix file to.list.
- do_install_FABulator(destination_folder=None) None[source]¶
Download and install the latest version of FABulator.
Sets the the FABULATOR_ROOT environment variable in the .env file.
- do_install_oss_cad_suite(destination_folder=None, update=False) None[source]¶
Download and extract the latest OSS CAD suite.
The installation will set the
FAB_OSS_CAD_SUITEenvironment variable in the.envfile.