-
Notifications
You must be signed in to change notification settings - Fork 1
chore: Initial plugin command #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -0,0 +1,55 @@ | |||
CLI_SOURCE_FILES?=./cmd/plugin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using Makefile instead of GNUmakefile as we don't need specific features
@@ -1,7 +1,6 @@ | |||
--- | |||
name: Create JIRA ticket for new issues | |||
name: JIRA Tickets for GH Issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
common naming convention for GH actions
.PHONY: clean | ||
clean: ## Clean binary folders | ||
rm -rf ./bin ./bin-plugin | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local make target
) | ||
|
||
completionOption := &cobra.CompletionOptions{ | ||
DisableDefaultCmd: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why these options?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using the same defaults as in example and kubernetes plugins
commands: | ||
terraform: | ||
description: Utilities for Terraform's MongoDB Atlas Provider | ||
tf: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love the shorthand option tf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
description: Utilities for Terraform's MongoDB Atlas Provider | ||
version: $VERSION | ||
github: | ||
owner: $GITHUB_REPOSITORY_OWNER |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice usage of env-vars
Description
Initial plugin command with release workflow.
Link to any related issue(s): CLOUDP-293949
Type of change:
Required Checklist:
Further comments