Closed gazialankus closed 8 years ago
A simple self-contained command line script might work without pubspec.yaml
and without conforming to the pub package layout conventions but when packages (like args
in the tutorial) AFAIK this can't work anymore. The tutorial should explain that or at least point to pages that do.
This issue was moved to dart-lang/site-www#39
This tutorial: https://www.dartlang.org/docs/tutorials/cmdline/
Won't work on Windows:
I also started a stackoverflow question about it: http://stackoverflow.com/questions/37568953/dart-command-line-app-on-windows-cant-import-packages