Latest release: 1.0.0-beta3
PHP >= 5.3.9
The Puli Command Line Interface gives access to the Puli Manager via your favorite terminal. The following is a list of the currently supported commands:
| Command | Description |
|---|---|
| Resource Mappings | |
puli map |
Display all resource mappings |
puli map <path> <file>... |
Map a repository path to one or several file paths |
puli map -d <path> |
Delete the mapping for a repository path |
| Resource Bindings | |
puli type |
Display all binding types |
puli type define <type> |
Define a new binding type |
puli type remove <type> |
Remove a defined binding type |
puli bind |
Display all resource bindings |
puli bind <glob> <type> |
Bind resources to a type |
puli bind -d <uuid> |
Delete a resource binding |
puli bind --enable <uuid> |
Enable a binding of an installed package |
puli bind --disable <uuid> |
Disable a binding of an installed package |
| Building | |
puli build |
Build the repository and the discovery |
puli build -f |
Rebuild the existing repository/discovery |
| Packages | |
puli package |
Display all installed packages |
puli package install <name> <path> |
Install a custom package |
puli package remove <name> |
Remove an installed package |
puli package clean |
Remove all non-existing packages |
| Configuration | |
puli config |
Show the current configuration |
puli config -a |
Show the current configuration (including default values) |
puli config <key> |
Show the current value of a configuration key |
puli config <key> <value> |
Change a configuration key |
puli config -d <key> |
Remove a configuration key (reset to default) |
| Repository Access | |
puli ls <path> |
List the child resources of a resource path |
puli tree <path> |
Print a resource and its children as tree |
puli find <glob> |
Find resources matching a glob |
puli find -b <type> |
Find resources bound to a binding type |
| Plugin Management | |
puli plugin |
List the currently installed plugins |
puli plugin install <class> |
Install a plugin class |
puli plugin remove <class> |
Remove a plugin class |
Run any of the commands with the -h option to find out more about other
supported options.
Read Puli at a Glance to learn more about Puli.
Follow the Getting Started guide to install Puli in your project.
Read the Puli Documentation to learn more about Puli.
Contributions to are very welcome!
- Report any bugs or issues you find on the issue tracker.
- You can grab the source code at Puli’s Git repository.
If you are having problems, send a mail to [email protected] or shout out to @webmozart on Twitter.
All contents of this package are licensed under the MIT license.