manifest 0.1.0 copy "manifest: ^0.1.0" to clipboard
manifest: ^0.1.0 copied to clipboard

A command line tool to generate Dart package manifest from pubspec.yaml.

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

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}');
}
0
likes
160
pub points
38%
popularity

Publisher

unverified uploader

A command line tool to generate Dart package manifest from pubspec.yaml.

Repository (GitHub)
View/report issues

Topics

#gen #manifest #version

Documentation

API reference

License

MIT (license)

Dependencies

args, path, yaml

More

Packages that depend on manifest