Installs packages locally from a .hxpkg file
Inspired by hmm
haxelib --global install hxpkg- Install HxPKG globallyhaxelib --global run hxpkg setup- Install command aliashxpkg install- Install from.hxpkg
hxpkg [command] [flags]
hxpkg install- Installs all packages from the .hxpkg filehxpkg add- Adds a package to the .hxpkg filehxpkg add [name] [version/git link] [branch/hash] profile [profile]- Only
nameis required
- Only
hxpkg remove- Removes a package from the .hxpkg filehxpkg clear- Removes all packages from the .hxpkg filehxpkg uninstall- Removes all packages installed by the .hxpkg file- Does not remove dependencies
hxpkg list- Lists all packages in the .hxpkg filehxpkg upgrade- Updates the .hxpkg file to the new format- Also happens when attempting to add a package profile in the old format
hxpkg compact- Compacts the .hxpkg filehxpkg setup- Installs the command alias for hxpkg. Usehaxelib --global run hxpkg setupto installhxpkg help- Shows help information
-
--quiet: Silent Install/Uninstall -
--force: Installs/Uninstalls even if .haxelib exists -
install:--global: Installs packages globally--update: Updates installed packages to the latest version
-
uninstall:--remove-all: Removes the local repo