dbp/relay-maker-bundle

Relay API网关的maker bundle

v0.1.12 2024-05-16 11:28 UTC

This package is auto-updated.

Last update: 2024-09-23 03:40:15 UTC


README

GitHub | Packagist

Test

maker bundle提供创建常见代码结构的Symfony命令。它受到了Symfony MakerBundle的启发,但专注于Relay特定的样板代码。

创建Bundle

bundles子目录中创建一个新的bundle,并将其注册/安装到应用程序中。

./bin/console dbp:relay:maker:make:bundle --help
Description:
  Create a new bundle

Usage:
  dbp:relay:maker:make:bundle [options]

Options:
      --vendor=VENDOR                  Vendor
      --category=CATEGORY              Category [default: "relay"]
      --unique-name=UNIQUE-NAME        Unique Name
      --friendly-name=FRIENDLY-NAME    Friendly Name
      --example-entity=EXAMPLE-ENTITY  Example Entity
      --dry-run                        Dry Run
      --no-confirm                     Bypass all confirmation questions, for automation