Last updated:
0 purchases
manifest
Manifest #
A command line tool to generate Dart package manifest from pubspec.yaml.
How to use #
Run the following code in your project root directory,
and it will generate lib/manifest.dart according to your pubspec.yaml.
dart run manifest -o lib/manifest.dart
copied to clipboard
The output file will only contain a const with the manifest data,
and you can call it like this:
import 'package:manifest/manifest.dart';
import 'manifest.dart';
void main() {
print('${manifest.name}: ${manifest.version}');
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.