dpm 0.2.3 copy "dpm: ^0.2.3" to clipboard
dpm: ^0.2.3 copied to clipboard

unlisted

Run commands upon installing & upgrades packages, powerfull package management with CLI. Flutter cappatible!

example/example.md

Available Commands #

Add #

Can be used to install dependencies without having to search the Pub directory for the current version.

# Install the newest version, and apply caret syntax
$ dpm add my-package

# Install a specific version
$ dpm add my-package@^1.0.0
$ dpm add my-package@0.0.4+25
$ dpm add "my-package@>=2.0.0 <3.0.0"

# Install a Git dependency
$ dpm add my-package@git://path/to/repo.git

# Specify a commit or ref
$ dpm add my-package@git://path/to/repo.git#bleeding-edge

# Install a local package
$ dpm add my-package@path:/Users/john/Source/Dart/pkg

# Install multiple packages
$ dpm add my-package my-other-package yet-another-package

# Install to dev_dependencies
$ dpm add --dev http test my-package@git://repo#dev

# Preview `pubspec.yaml`, without actually installing dependencies,
# or modifying the file.
$ dpm add --dry-run my-experimental-package

Remove #

Can be used to remove dependencies without need go to file.

# Remove specific package 
$ dpm remove my-package 

# Remove multiple packages
$ dpm remove my-package my-other-package

Get #

This script simply runs pub get.

init #

Essentially an npm init for Dart. This command will run you through a series of prompts, after which a pubspec.yaml will be generated for you.

Upgrade #

This script simply runs pub upgrade.

0
likes
40
pub points
0%
popularity

Publisher

verified publisherscer.io

Run commands upon installing & upgrades packages, powerfull package management with CLI. Flutter cappatible!

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

args, console, http, meta, path, pub_semver, pubspec, register, tuple, yaml, yamlicious

More

Packages that depend on dpm