****************************** * Bundle command lines e.g. * ****************************** [ Adding a new bundle ] Adding/importing bundle ---------- To add a new bundle or to import an existing one, use the following command line. $ gina bundle:add @ Or $ gina bundle:add @ --start-port-from Adding multiple ---------- $ gina bundle:add @ [ Removing an existing bundle ] $ gina bundle:remove @ [ Listing all bundles inside your project ] $ gina bundle:list @ or to list all projects bundles $ gina bundle:list [ Starting a bundle ] $ gina bundle:start @ or to start more than one at once under the same project $ gina bundle:start @ [ Starting a bundle in debug mode ] $ gina bundle:start @ --debug-brk=5656 --max-old-space-size=2048 [ Starting a bundle pinned to a specific installed gina version ] $ gina bundle:start @ --gina-version=0.1.8 The declared version is validated against the tracked versions in ~/.gina/main.json. You can also pin a version statically in your project's manifest.json: "bundles": { "": { "gina_version": "0.1.8", ... } } The CLI flag takes priority over the manifest.json declaration. The socket server keeps running its own version; only the spawned bundle process uses the declared version. [ Stopping a bundle ] $ gina bundle:stop @ [ Stopping all your project bundles ] $ gina bundle:stop @ [ Restarting a bundle ] $ gina bundle:restart @ [ Restarting all your project bundles ] $ gina bundle:restart @ [ Generating OpenAPI spec ] Generate an OpenAPI 3.1.0 specification from routing.json for a bundle. The spec is written to /config/openapi.json by default. $ gina bundle:openapi @ Generate specs for all bundles in a project ---------- $ gina bundle:openapi @ Write to a custom output path ---------- $ gina bundle:openapi @ --output=/path/to/spec.json Alias ---------- $ gina bundle:oas @