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

Create a module for wp cli so it is possible to generate a launchpad project from wp cli #14

Closed
CrochetFeve0251 opened this issue May 18, 2024 · 3 comments
Assignees

Comments

@CrochetFeve0251
Copy link
Collaborator

No description provided.

@Khadreal Khadreal self-assigned this Jul 1, 2024
@nicomollet
Copy link

Where would that WP CLI module be located?
I don't see how we can avoid the first command:
composer create-project wp-launchpad/launchpad my-plugin

Then inside my-plugin we could have a WP CLI custom command, yes.
Is it what we was thinking of?

@CrochetFeve0251
Copy link
Collaborator Author

@nicomollet the idea is to create a wp-cli module so then we can chain both commands necessary to initialize a new project:

  • composer composer create-project wp-launchpad/launchpad my-plugin`
  • bin/generate initialize

Yes on the first usage like the cli command for Laravel or Symfony, it is more setup. However, for a person using it more regularly, it can be useful and might allow us to add more commands in the future.

@Khadreal
Copy link

Khadreal commented Jul 8, 2024

First, we need to create a separate repo for this, while I'm not too much familiar on how we can submit this to wp to bundle as part of the built-in commands for wp cli.
After building we would go ahead and submit the package on Packagist pending when it'll be available as in-built for WP-CLI.

@CrochetFeve0251 could you please create a repo for this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants