Package manager for coordinating the lifecycle of Atom packages.
An instance of this class is always available as the
Packages can be loaded, activated, and deactivated, and unloaded:
- Loading a package reads and parses the package's metadata and resources such as keymaps, menus, stylesheets, etc.
- Activating a package registers the loaded resources and calls
activate()on the package's main module.
- Deactivating a package unregisters the package's resources and calls
deactivate()on the package's main module.
- Unloading a package removes it completely from the package manager.
Packages can be enabled/disabled via the
settings and also by calling
Package system data
Get the path to the apm command.
Uses the value of the
core.apmPath config setting if it exists.
Return a String file path to apm.