Easily manage external dependencies for Database Development. Search for, install, and uninstall liquibase drivers, extensions, and utilities.
lpm is an experimental project. Issues can be reported here, but there is no guarantee of support.
lpm is distributed as a single binary. Install lpm by downloading, unzipping, and moving it to a directory included in your system's PATH. Releases are available here.
lpm will make a best effort to locate the location of the liquibase lib directory. It is recommended to set the LIQUIBASE_HOME environment variable.
Examples:
export LIQUIBASE_HOME=/usr/local/opt/liquibase/libexec
echo 'export LIQUIBASE_HOME=/usr/local/opt/liquibase/libexec' >> ~/.bashrc
lpm <command>
- add
- completion
- dedupe
- help
- install
- list
- remove
- search
- update
- upgrade
lpm can generate shell completions for multiple shells. The following shells are available:
Generate the autocompletion script for lpm for the bash shell.
To load completions in your current shell session:
source <(lpm completion bash)
To load completions for every new session, execute once:
- Linux:
lpm completion bash > /etc/bash_completion.d/lpm
- MacOS:
lpm completion bash > /usr/local/etc/bash_completion.d/lpm
To load completions in your current shell session:
source <(lpm completion zsh)
To load completions for every new session, execute once:
lpm completion zsh > "${fpath[1]}/_lpm"
To load completions in your current shell session:
lpm completion fish | source
To load completions for every new session, execute once:
lpm completion fish > ~/.config/fish/completions/lpm.fish
You will need to start a new shell for this setup to take effect.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
This project also includes software governed by the Mozilla Public License, v. 2.0.
github.com/hashicorp/go-version v1.6.0
(http://mozilla.org/MPL/2.0/)
For instructions on releasing LPM, see RELEASING.md.