Boss is an open source dependency manager inspired by npm
for projects developed in Delphi and Lazarus.
Installation:
- Download setup
- Just type
boss
in cmd - (Optional) Install a Boss Delphi IDE complement
This command initialize a new project. Add -q
or --quiet
to initialize the boss with default values.
boss init
boss init -q
boss init --quiet
This command install a new dependency
boss install <dependency>
This command uninstall a dependency
boss uninstall <dependency>
This command removes the cache
boss config cache rm
This command print all dependencies and your versions. To see versions, add aliases -v
boss dependencies
boss dependencies -v
This command show the client version
boss v
boss version
boss -v
boss --version
This command update installed dependencies
boss update
This command upgrade the client latest version. Add --dev
to upgrade to the latest pre-release.
boss upgrade
boss upgrade --dev
This flag defines a global environment
boss --global
This is a helper for boss. Use boss <command> --help
for more information about a command.
boss --help
delphi Configure Delphi version
gc Garbage collector
login Register login to repo
publish Publish package to registry
run Run cmd script
boss install horse
boss install horse:1.0.0
boss install -g delphi-docker
boss install -g boss-ide
Using semantic versioning to specify update types your package can accept
You can specify which update types your package can accept from dependencies in your package’s boss.json file.
For example, to specify acceptable version ranges up to 1.0.4, use the following syntax:
- Patch releases: 1.0 or 1.0.x or ~1.0.4
- Minor releases: 1 or 1.x or ^1.0.4
- Major releases: * or x