eric 1.0.0-alpha.2 copy "eric: ^1.0.0-alpha.2" to clipboard
eric: ^1.0.0-alpha.2 copied to clipboard

discontinuedreplaced by: pubspec_manager
outdated

Read, write and modify a pubspec.yaml including retention and modifications of comments and out of spec content.

example/example.dart

import 'package:eric/eric.dart';

void main() {
  Pubspec.fromFile()
    ..name.value = 'new eric'
    ..version.value = '1.0.0-alpha.2'
    ..dependencies
        .append(HostedDependency(name: 'dcli', url: 'https://onepub.dev'))
    ..dependencies.append(PubHostedDependency(name: 'dcli', version: '1.0.0'))
    ..save();
}
1
likes
0
points
15
downloads

Publisher

verified publisheronepub.dev

Weekly Downloads

Read, write and modify a pubspec.yaml including retention and modifications of comments and out of spec content.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

fsm2, meta, path, pub_semver, strings

More

Packages that depend on eric