Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sandromaglione/dart_cli_with_fpdart
- Owner: SandroMaglione
- Created: 2023-11-24T04:38:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-30T05:23:54.000Z (about 1 year ago)
- Last Synced: 2024-01-29T10:10:58.577Z (about 1 year ago)
- Topics: dart, dart-cli, dartlang, flutter, fpdart, functional-programming
- Language: Dart
- Homepage: https://www.sandromaglione.com/newsletter
- Size: 31.3 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# `CLI using fpdart Functional Programming`
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).
## 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** 👇