-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: export commands and hooks (#807)
* feat: export commands and hooks * chore(release): 4.2.6-dev.0 [skip ci] * chore: bump oclif/core * chore: readme --------- Co-authored-by: svc-cli-bot <[email protected]>
- Loading branch information
1 parent
9dbe013
commit f1c1822
Showing
4 changed files
with
134 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,23 @@ | ||
export {default} from './plugins.js' | ||
import PluginsIndex from './commands/plugins/index.js' | ||
import PluginsInspect from './commands/plugins/inspect.js' | ||
import PluginsInstall from './commands/plugins/install.js' | ||
import PluginsLink from './commands/plugins/link.js' | ||
import PluginsReset from './commands/plugins/reset.js' | ||
import PluginsUninstall from './commands/plugins/uninstall.js' | ||
import PluginsUpdate from './commands/plugins/update.js' | ||
import {update} from './hooks/update.js' | ||
|
||
export const commands = { | ||
plugins: PluginsIndex, | ||
'plugins:inspect': PluginsInspect, | ||
'plugins:install': PluginsInstall, | ||
'plugins:link': PluginsLink, | ||
'plugins:reset': PluginsReset, | ||
'plugins:uninstall': PluginsUninstall, | ||
'plugins:update': PluginsUpdate, | ||
} | ||
|
||
export const hooks = { | ||
update, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters