Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

feat: Add hooks type to base plugin, document plugin options for CLI help #245

Merged
merged 1 commit into from
Aug 16, 2019

Conversation

tbarlow12
Copy link
Contributor

  • Added commands to all plugins
  • Added resourceGroup, stage, region and subscriptionId to all CLI commands that need to log into Azure
  • Refactored hooks and commands to exist at the BasePlugin level
  • Added type ServerlessHookMap

Resolves AB#802 and AB#795

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 84.384% when pulling 2202e67 on tabarlow/cli-options into 9e3fcac on dev.


this.commands = {
remove: {
usage: "Remove service resource group (USE WITH CAUTION)",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eeep, is there a way to enforce confirmation with this command?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not currently, no

@pjlittle
Copy link
Contributor

LGTM

@tbarlow12 tbarlow12 merged commit 22aa4f1 into dev Aug 16, 2019
@tbarlow12 tbarlow12 deleted the tabarlow/cli-options branch August 16, 2019 23:08
tbarlow12 added a commit that referenced this pull request Sep 13, 2019
…I help (#245)

- [x] Added `commands` to all plugins
- [x] Added `resourceGroup`, `stage`, `region` and `subscriptionId` to all CLI commands that need to log into Azure
- [x] Refactored `hooks` and `commands` to exist at the `BasePlugin` level
- [x] Added type `ServerlessHookMap`

Resolves AB#802 and AB#795
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants