Add non-interactive flag support to create-plugin command
- Add --name and --module flags for non-interactive plugin creation - Implement flag parsing and validation using existing validation functions - Support plugin names with or without mattermost-plugin- prefix - Maintain backward compatibility with interactive mode as fallback - Update help text and examples to document new flag options 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
07f21c6812
commit
18bfca1c2c
4 changed files with 85 additions and 15 deletions
|
@ -13,7 +13,8 @@ import (
|
|||
"github.com/mattermost/mattermost/server/public/model"
|
||||
)
|
||||
|
||||
//go:embed assets/.editorconfig assets/.gitattributes assets/.nvmrc assets/Makefile assets/*.yml assets/build/*.mk assets/.github/**/*.yml assets/webapp/.npmrc assets/webapp/*.config.js
|
||||
//go:embed assets/.editorconfig assets/.gitattributes assets/.nvmrc assets/Makefile assets/*.yml
|
||||
//go:embed assets/build/*.mk assets/.github/**/*.yml assets/webapp/.npmrc assets/webapp/*.config.js
|
||||
var assetsFS embed.FS
|
||||
|
||||
const (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue