Skip to content

Dismalitie/Graphite

Repository files navigation

graphite

Graphite

Graphite is an open source, basic package management tool that lets you get, create and remove static and dynamic packages.

Important

Graphite is under development, stable builds will be released in the releases tab.

Warning

Graphite has updated it's legacy GIHs to use the .gih file extension. Any existing indexes will still be supported.

Update with

graphite update

Getting a static package

graphite get [ path ] [ destination ]

An example path: https://raw.githubusercontent.com/Dismalitie/JaxCore-CS/main/JaxCore-Installer/bin/Debug/graphite.gih

Downloads all files included in a .gih - Graphite Installation Hive - to destination.

Removing a static package

To quickly remove a package that is installed in the current directory, run:

graphite del [ path ] [ destination ]

This will remove any files associated with the package provided with the path argument in the destination directory.

Creating a static package

To create / index a package, run:

graphite index [ path ] [ destination ]

This will add all files at path to an index file outputted at destination, which can be used when retrieving the package with get.

Note: the graphite file must be put in the same directory as the files when hosting

Creating a dynamic package

Dynamic packages (.npkg) are files that will always extract the latest version. These require internet to extract.

To create one, run:

graphite netpack [ path ] [ packname ] [ destination ]

Replace path with a web address that contains a Graphite Installation Hive - see Creating a static package

Replace packname with what you want your pack to be called. E.g: MyPack would become MyPack.npkg. The package file will be outputted at destination.

Getting a dynamic package

To retrieve a package, run:

graphite netunpack [ path ] [ destination ] 

Replace path with the location of a local .npkg file.

It will extract the latest copy to destination.

Deleting a dynamic package

To remove a dynamic package installed on the local system, run

graphite netdel [ path ] [ destination ]

Any files associated with the .npkg file will be removed in the destination directory.

About

Basic mullti-feature package management tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages