Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add skeleton commands #715

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add skeleton commands #715

wants to merge 1 commit into from

Conversation

crazywhalecc
Copy link
Owner

@crazywhalecc crazywhalecc commented Apr 25, 2025

What does this PR do?

Add ext-skel, lib-skel and source-skel command, to help newcomer and maintainer add extension or library more elegant.

Feature:

  • Prompt integration
  • Generate basic extension and library class
  • Generate unix autoconf example
  • Generate unix CMake example
  • Generate windows CMake example
  • Generate windows sln example
  • Add config to existing file
  • Support vendor mode
  • Support phar mode

Usage:

# skeleton for extension foo
bin/spc dev:ext-skel foo

# skeleton for library bar
bin/spc dev:lib-skel bar

# skeleton for source baz
bin/spc dev:source-skel baz

Checklist before merging

  • If you modified *.php, run composer cs-fix at local machine.
  • If you changed the behavior of static-php-cli, update docs in ./docs/.

@crazywhalecc crazywhalecc added new feature New feature or request kind/framework Issues related to CLI app framework labels Apr 25, 2025
@crazywhalecc crazywhalecc self-assigned this Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/framework Issues related to CLI app framework new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant