prettydiff / biddle

Self-hosted application distribution
MIT License
66 stars 4 forks source link

Extend global command to support installed applications #6

Closed prettydiff closed 7 years ago

prettydiff commented 7 years ago

Right now global command only works with biddle itself

node biddle global

It should be extended to allow the name of an installed application

biddle global myApplication

Removing an application from the global path must be in the uninstall command and also allowed with the global command and a remove argument like current support for biddle

biddle global myApplication remove
biddle uninstall myApplication

This use of global command with an application should perform a check of the application name against the installed.json to determine if the application name is valid or else throw an error.