Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sandromaglione/dart_cli_with_fpdart

A dart cli application using fpdart that scans a dart project to find unused files・Newsletter sandromaglione.com
https://github.com/sandromaglione/dart_cli_with_fpdart

dart dart-cli dartlang flutter fpdart functional-programming

Last synced: 3 months ago
JSON representation

A dart cli application using fpdart that scans a dart project to find unused files・Newsletter sandromaglione.com

Awesome Lists containing this project

README

        

# `CLI using fpdart Functional Programming`



GitHub: SandroMaglione


Twitter: SandroMaglione

Learn how to use [`fpdart`](https://github.com/SandroMaglione/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**](https://www.sandromaglione.com/newsletter?ref=Github&utm_medium=newsletter_project&utm_term=dart&utm_term=fpdart).


sandromaglione.com Newsletter weekly project

## Project structure
The implementation is contained inside the [`lib`](./lib/) folder. The entry point is the [`main.dart`](./lib/main.dart) file.

The CLI executes the [`dart_cli_with_fpdart.dart`](./bin/dart_cli_with_fpdart.dart) file.

This file imports the `program` function from `main.dart`.

The app has the following package dependencies ([`pubspec.yaml`](./pubspec.yaml)):

```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** 👇


Read the full article on my website