Parse command line arguments with the Args Package (Dart Package of the Week #9)

Опубликовано: 19 Февраль 2026
на канале: Creative Bracket • Dart and Flutter Tutorials
2,772
95

Args allows you to parse command line arguments fed to your Dart programs into a set of options and flags. You can then use these to control the flow of your programs. We will go through an example with the api and build a real world tool that will automate adding packages to a Dart project.

=== Contents of this video ===

00:00 Intro
00:10 Args package info
00:45 Args package demo
06:03 Create a package auto-installer
14:58 Make auto-installer a command line executable
16:18 Outro

Please leave us your feedback in the comments, and let us know what you would like us to demonstrate next! You can reach out in the comments below or on Twitter using #Flutter #Dartlang #Automation #CliTools

Like, Subscribe and Hit the Bell 🔔 if you enjoyed this video 😍

Get the Crawl package → https://pub.dev/packages/crawl
Get the source code → https://github.com/graphicbeacon/args...
Get started with Dart course → https://biy.ly/getstartedwithdart

Dart docs → https://dart.dev
Subscribe to the channel → http://bit.ly/2P2N1jC

Read More Dart Tutorials → https://creativebracket.com
Buy me a coffee → https://ko-fi.com/creativebracket

LET'S CONNECT
---
Twitter →   / creativ_bracket  
Support the channel →   / creativebracket