Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 2.12 KB

README.md

File metadata and controls

47 lines (33 loc) · 2.12 KB

CLI using fpdart Functional Programming

GitHub: SandroMaglione Twitter: SandroMaglione

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.

sandromaglione.com Newsletter weekly project

Project structure

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 👇

Read the full article on my website