The docker container presents a cli with dart and DShell pre-installed so you can experiment with DShell.
DShell is intended as replacement for bash scripts using the Dart programming language.
DShell provides tooling and an extensive library for building cli apps.
https://pub.dev/packages/dshell
To use the container:
Create a volume so that your scripts are persistent:
docker volume create dshell_scripts
Attach to the DShell cli.
docker run -v dshell_scripts:/home/scripts --network host -it dshellfordart/dshell /bin/bash
vi is included in the container.
Alternatively you can install and run dshell directly from your cli:
pub global activate dshell
dshell install
dshell create hello_world.dart
./hello_world.dart
>Hello World.
dshell compile -i hello_world.dart
hello_world
Hello World
Content type
Image
Digest
Size
348.4 MB
Last updated
over 6 years ago
docker pull bsuttonnoojee/dshell:0.1.0