Learn how to use fpdart
to build a CLI application in dart.
This project implements a dart CLI application using
fpdart
that scans a dart project to find unused files.
This project is part of my weekly newsletter at sandromaglione.com.
The implementation is contained inside the lib
folder. The entry point is the main.dart
file.
The CLI executes the dart_cli_with_fpdart.dart
file.
This file imports the program
function from main.dart
.
The app has the following package dependencies (pubspec.yaml
):
dependencies:
fpdart: ^1.1.0
args: ^2.4.2
equatable: ^2.0.5
yaml: ^3.1.2
Note:
cli_options.yaml
is a file specific for this project, it is not a standard dart configuration file. Read more in the article below
Read all the details in the full article 👇