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
DCli warmup essentially does the same as a pub get. It is provided as a convenience function and you can use a dart pub get interchangeably with DCli warmup.
DCli warmup prepares your project so that you can run any of the project scripts.
When a script is run that has been 'warmed' up, it runs in JIT mode and as such has a slower start time when compared to a compiled script.
The advantage of JIT mode is that it makes it easy to iterate over code changes. You can simply edit your script and immediately run the script.
You only need to run warmup again if you make a change to your dependencies.
If you need faster start times then you should consider compiling your scripts using
If you edit pubspec.yaml in your project then you need to run
so that DCli sees the changes you have made.
If you change your pubspec.yaml you can call `dcli warmup` from anywhere in your project's directory structure.
DCli Tools - Previous
Next - DCli Tools