| # GENERATED BY: test/deps/executables_test.dart |
| |
| ## Section 0 |
| $ tree |
| ├── foo |
| │ ├── bin |
| │ │ └── bar.dart |
| │ └── pubspec.yaml |
| └── myapp |
| ├── pubspec.lock |
| └── pubspec.yaml |
| |
| -------------------------------- END OF OUTPUT --------------------------------- |
| |
| ## Section 1 |
| $ pub deps --executables |
| foo:bar |
| |
| -------------------------------- END OF OUTPUT --------------------------------- |
| |
| ## Section 2 |
| $ pub deps --executables --dev |
| foo:bar |
| |
| -------------------------------- END OF OUTPUT --------------------------------- |
| |
| ## Section 3 |
| $ pub deps --json |
| { |
| "root": "myapp", |
| "packages": [ |
| { |
| "name": "myapp", |
| "version": "0.0.0", |
| "kind": "root", |
| "source": "root", |
| "dependencies": [ |
| "foo" |
| ] |
| }, |
| { |
| "name": "foo", |
| "version": "1.0.0", |
| "kind": "dev", |
| "source": "path", |
| "dependencies": [] |
| } |
| ], |
| "sdks": [ |
| { |
| "name": "Dart", |
| "version": "0.1.2+3" |
| } |
| ], |
| "executables": [ |
| "foo:bar" |
| ] |
| } |
| |