HxPKG
Installs packages locally from a .hxpkg file
Inspired by hmm
Installation
haxelib --global install hxpkg- Install HxPKG globallyhaxelib --global run hxpkg setup- Install command aliashxpkg install- Install from.hxpkg
Usage
hxpkg [command] [flags]
Commands
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]- Onlynameis requiredhxpkg 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
Flags:
--quiet: Silent Install/Uninstall-
--force: Installs/Uninstalls even if .haxelib exists -
install: --global: Installs packages globally--update: Updates installed packages to the latest versionuninstall:--remove-all: Removes the local repo