Skip to content

CLI References

Yann Stepienik edited this page Jul 17, 2019 · 3 revisions

CLI References

bootstrap / b

g bootstrap [--provider] 

Create a new project with basic scaffolding

Hooks :

  • bootstrap

make / m

g make [--provider] 

Get the project dependencies into their specific folders. Will execute make.gs after (if any).

Hooks :

  • getDependencyList
  • resolveDependencyLocation
  • expandDependency
  • getDependency
  • postGetDependency
  • binaryInstall

install / i

g install [--provider] packages+

Install the list of packages specified as PRL. This will add the package to the dependency list of the project, and then call "make".

Hooks :

  • getDependencyList
  • saveDependencyList

remove / r

g remove [--provider] packages+

Remove dependencies from GuPM.json

This command is currently incomplete, see #11

Publish / p

g publish [--provider]

Read your gupm.json file for a "source" folder, will zip it and send it to a "destination" folder. This folder will become a repo if it's not already one, and the new version of your package will be registered in it. See : https://github.com/azukaar/GuPM/wiki/Repositories

This command is currently incomplete, see #21

Self / s

g self upgrade

Download GuPM's new version

This command is currently incomplete, see #20

g self uninstall

uninstall GuPM

Cache / c

g cache clear

Delete all the packages in your cache

plugin / pl

g plugin install plugins+

Will install a plugin in your home folder based in its PRL.

g plugin remove plugins+

Will install a plugin in your home folder based in its name.

g plugin link

Specific to plugin developer. Will symlink the current folder to the plugin folder, allowing you to test your plugin.

Clone this wiki locally