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.

ExampleDescription

A bare bones hello world example.

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.

Prints a list of the PATH directories and checks that each one is valid.

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>

An example REPL shell.

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.

Prints out each of the local IP address bound to your machine in a human readable format.

Last updated