| |-- foo-1.0 | |
| | |-- bin | |
| | | '-- bar.dart | |
| | '-- pubspec.yaml | |
| |-- foo-2.0 | |
| | |-- bin | |
| | | |-- bar.dart | |
| | | '-- baz.dart | |
| | '-- pubspec.yaml | |
| '-- myapp | |
| '-- pubspec.yaml | |
| $ pub deps --executables | |
| foo: bar, baz | |
| $ pub deps --executables --dev | |
| foo: bar, baz | |
| $ pub deps --json | |
| { | |
| "root": "myapp", | |
| "packages": [ | |
| { | |
| "name": "myapp", | |
| "version": "0.0.0", | |
| "kind": "root", | |
| "source": "root", | |
| "dependencies": [ | |
| "foo" | |
| ] | |
| }, | |
| { | |
| "name": "foo", | |
| "version": "2.0.0", | |
| "kind": "direct", | |
| "source": "path", | |
| "dependencies": [] | |
| } | |
| ], | |
| "sdks": [ | |
| { | |
| "name": "Dart", | |
| "version": "0.1.2+3" | |
| } | |
| ], | |
| "executables": [ | |
| "foo:bar", | |
| "foo:baz" | |
| ] | |
| } | |