dart-merger

npm version

Combine a set of dart files into one.
This is useful when you want to organize a group of files automatically generated by generator.

Install

npm install -D dart-merger

Usage

❯ npx @muraikenta/dart-merger -h
dart-merger

Usage:
  $ dart-merger <command> [options]

Options:
  --package <packageName>  Provide package name
  --src <folderPath>       Provide source directory (default: .)
  --out <filePath>         Provide file path of output (default: out.dart)
  -h, --help               Display this message

e.g. Combine a set of files in example/lib with package name example.

npx @muraikenta/dart-merger --package example --src example/lib --out example/out/out.dart

GitHub

View Github