Search…
Code
The Examples section is intended to be a grab bag of samples that demonstrate various techniques that you can use to solve problems with DCli.
Feel free to use any of the code as your own.
Example
Description
A bare bones hello world example.
dcompress
Utility that is able to dcompress multiple file types. It uses the file extension to select the appropriate tool to decompress the file with.
It does require that the appropriate OS tool is already installed.
dpath
Prints a list of the PATH directories and checks that each one is valid.
dmysql
Allows you to save the connection arguments to the mysql cli command to connect to multiple databases. Once configured you can connect by typing dmysql <dbname>
dshell
An example REPL shell.
dwhich
Dart implementation of the class which command bit it also validates the PATH and prints all occurances of the app that it finds in the order they appear on the PATH.
dipaddr
Prints out each of the local IP address bound to your machine in a human readable format.
Last modified 4d ago
Copy link