What does DCli do?
Writing your first CLI app
Add DCli to your project
Dart lambda functions
stdin/stdout/stderr a primer
Using DCli functions
Managing Files And Directories
Command Line Arguments
The evils of CD
Use a shebang #!
build CLI apps in dart - part 1
build CLI apps in dart - part 2
Dealing with permissions
Dart on Linux - the perfect CLI tooling
Improving your build environment
Olivier Revial - CLI apps made easy
Video: package of the week
Dart has a large collection of built in packages. You can read about the core packages at:
However, sometimes you need a specialised package.
There are thousands of third party packages that you can use in your DCli scripts which can be found at:
NOTE: you can't use Flutter or web packages in your DCli scripts.
To use an external package you need to add it as a dependency to your script.
Dart's dependency management is done via a pubspec.yaml file.
Each package includes install instructions which is simply a matter of adding a dependency line to your pubspec and running:
Next - Dependency Management