barreler 1.2.1 copy "barreler: ^1.2.1" to clipboard
barreler: ^1.2.1 copied to clipboard

A library for generating barrel files.

example/example.md

Example #

Create a barreler.yaml configuration file in the root of your project. Then run barreler build to generate the barrel files.

Quick Start #

  1. Generate an example configuration file:

    barreler example
    
  2. This creates a barreler.yaml file with example settings. Review and customize it for your project.

  3. Build your barrel files:

    barreler build
    

Watch Mode #

To automatically update barrel files when you add or remove files:

barreler watch

This will watch the configured directories and update barrel files on file create, move, or delete events.

Configuration #

See the README.md for detailed documentation on all configuration options.