reset-component-library (Lepton EDA Reference Manual 1.9.18)

#### 5.15.1.5 reset-component-library ¶

`reset-component-library` initializes, i.e. empties the global component library. Thus, the user can define a new set of component resources from scratch. For example, sometimes it is convenient to get rid of default symbols in the library window of `lepton-schematic` and work only with those in your own custom libraries.

Use the command before other component library commands, such as component-library.

Supposed you want some of your projects to use only special symbol libraries, then the typical usage is as follows. First reset all libraries, then populate the component library with your directories, e.g.:

    (reset-component-library)

    (component-library-search "${HOME}/lepton/symbols")

The good place to do so is `gafrc` in your project’s directory. However, you can also disable default libraries completely by writing such lines in `gafrc` in the directory with your user’s settings. See Legacy configuration files still in use for more information on configuration paths.