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

unlistedoutdated

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, and then calls link.

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, and then calls link.

Creates symlinks to each dependency (in future versions, I will eliminate symlink use), and also creates executable files linked to any dependencies that export executables.

Clean #

Removes the .dpm_bin directory, if present.

Reset #

Runs clean, followed by get.

0
likes
0
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

unknown (license)

Dependencies

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

More

Packages that depend on dpm