dcli
Search…
Introduction
What does DCli do?
Install DCli
Writing your first CLI app
Add DCli to your project
pub.dev
github
Dart basics
Dart lambda functions
Function Arguments
Futures
stdin/stdout/stderr a primer
Tour
Overview
Using DCli functions
User input
Displaying information
Managing Files And Directories
Environment variables
Calling apps
Command Line Arguments
Paths
Glob Expansion
Piping
Locking
Fetch
The evils of CD
Assets/Resources
Cross Platform
Elevated Privileges
Performance
Dependency Management
Dependency Management
Pubspec Managment
DCli Tools
DCli tools
Use a shebang #!
DCli Compile
DCli Clean
DCli Create
DCli Doctor
DCli Install
DCli Run
DCli Warmup
DCli Pack
Upgrade DCli
Internal Workings
Internal Workings
waitForEx
Contributing
References
Examples
Projects
Code
Articles
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
Powered By
GitBook
Upgrade DCli
When a new version of DCli is released you will want to upgrade to the latest version.
Any of your scripts which use DCli will need to have their pubspec.yaml manually updated pubspec.yaml with the new version of dcli.
Once you have updated the version you need to run pub upgrade:
1
dart pub upgrade
Copied!
If you are using the DCli tools then you will need to upgrade the tools:
We run the same process as we did when installing DCli to upgraded it.
1
dart pub global activate dcli
2
dcli install
Copied!
DCli Tools - Previous
DCli Pack
Next - Internal Workings
Internal Workings
Last modified
8mo ago
Copy link