Skip to content
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

feat: in Strapi project, init creates plugin in plugin path and logs config info #36

Merged
merged 5 commits into from
Aug 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
enhancement: make path required
innerdvations committed Aug 8, 2024
commit 2e1ca56d4a4e9262bf909d7a2da55461663b291b
2 changes: 1 addition & 1 deletion src/cli/commands/plugin/init/command.ts
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ const command: StrapiCommand = ({ command: commanderCommand, ctx }) => {
commanderCommand
.command('init')
.description('Create a new plugin at a given path')
.argument('[path]', 'path to the plugin', './src/plugins/my-plugin')
.argument('path', 'path to the plugin')
.option('-d, --debug', 'Enable debugging mode with verbose logs', false)
.option('--silent', "Don't log anything", false)
.action((path, options) => {