puma 0.6.3

Dart native
Flutter Android iOS

puma (for Pubspec Manager) is a simple cli tool to manage your pubspec.yaml

pipeline status coverage report Pub

A simple cli tool to manage your project.

Dependencies management #

Install dependencie #

You can easily add package with puma.

puma package -i mongo_dart

Like that puma will automatically get the latest version of the package.

If you want a specific version of you package you specify the version like that

puma package -i mongo_dart:0.0.1

If you need to reference a package locally you can do

puma package -i ./mongo_dart

Add a dependencie to the dev_dependencies

To add a dev dependencie you can add --dev to the command

puma package -i build_runner:^1.0.0 --dev

Remove dependencie #

To remove a dependencie you can do like that

puma package -d mongo_dart

Version management #

puma help you manage version management.

Breaking change #

If you do a breaking change in your project just run

puma version --breaking

To bump the version of your package.

Major change #

If you just need to bump the major version of your package you can do

puma version --major

Minor change #

If you just need to bump the minor version of your package you can do

puma version --minor

Patch change #

If you just need to bump the patch version of your package you can do

puma version --patch

Flutter management #

Add asset #

You can add Flutter asset by using this command

This will add one file :

puma flutter assets --add lib/main.dart

And this will add the entire folder :

puma flutter assets --add lib
0
likes
90
pub points
0%
popularity

puma (for Pubspec Manager) is a simple cli tool to manage your pubspec.yaml

Homepage
Repository (GitLab)
View/report issues

Documentation

API reference

Uploader

segaud.kevin@gmail.com

License

BSD (LICENSE)

Dependencies

args, build_cli_annotations, http, meta, pub_semver, yaml

More

Packages that depend on puma