You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any official way to install packages without having to use the sublime UI? I'd like to be able to write an external script that will install/uninstall packages by name. I had a look through the source code and couldn't find any registered sublime commands that directly install a package. There's InstallPackageCommand but it just opens a separate window which eventually calls PackageManager, and the actual install code is located there. Is there a way to expose some of the functionality of PackageManager directly as sublime commands? If there isn't but you think this is a useful thing to have, I might be willing to contribute a patch. Thanks for the great package!
The text was updated successfully, but these errors were encountered:
Hmm so I found #883 which has some tips on running the provided commands. I'm able to install packages with something like window.run_command('advanced_install_package', {'packages':['my package']}), but there's no equivalent I can find for removing packages.
Source code to handle installations is bundled with ST's API and thus can't be run in a dedicated shell.
All relevant commands to handle installation, upgrade, removal, enabling or disabling packages will be available in PC 4.0 and can be executed using subl.
Is there any official way to install packages without having to use the sublime UI? I'd like to be able to write an external script that will install/uninstall packages by name. I had a look through the source code and couldn't find any registered sublime commands that directly install a package. There's
InstallPackageCommand
but it just opens a separate window which eventually callsPackageManager
, and the actual install code is located there. Is there a way to expose some of the functionality ofPackageManager
directly as sublime commands? If there isn't but you think this is a useful thing to have, I might be willing to contribute a patch. Thanks for the great package!The text was updated successfully, but these errors were encountered: