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
DCli tools
DCli ships with a no. of option command line tools to help you creating and writing DCli scripts.
If you are just using the DCli library then you can safely ignore the DCli tools.
If you want to use the DCli tools then you must first install them:
1
dart pub global activate dcli
2
dcli
install
Copied!
You can see a full list of
dcli
commands and arguments by running:
1
dcli
2
dcli help
3
dcli help <command>
Copied!
The syntax of
dcli
is:
1
dcli [flag, flag...] [command] [flag, flag...] [arguments...]
Copied!
flags
DCli supports a global verbose flag:
--verbose | -v
When passed to dcli it will result in additional logging being written to the cli.
1
dcli -v create hello.dart
Copied!
Dependency Management - Previous
Pubspec Managment
Next - DCli Tools
Use a shebang #!
Last modified
8mo ago
Copy link
Contents
flags