You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The kernel provides a powerful CLI system for creating custom commands and automating tasks. Commands can be created in your application or provided by capabilities (modules).
Forge includes a retro-styled interactive command browser. Simply run <codeclass="bg-gray-100 px-2 py-1 rounded">php forge.php</code> without arguments to access it. The browser features a splash screen, multi-column command listings, category-based browsing, and allows you to execute commands or view help directly. Use arrow keys (↑↓←→) to navigate and Esc to exit.
Commands use the <codeclass="bg-gray-100 px-2 py-1 rounded">#[Cli]</code> attribute to define the command name, description, usage, and examples. Arguments are defined using the <codeclass="bg-gray-100 px-2 py-1 rounded">#[Arg]</code> attribute on class properties.
Most commands use interactive wizards by default. You can skip wizards by providing options with <codeclass="bg-gray-100 px-2 py-1 rounded">--option=value</code> flags.
Forge includes a retro-styled interactive command browser that makes it easy to discover and execute commands. Simply run <codeclass="bg-gray-100 px-2 py-1 rounded">php forge.php</code> without any arguments to access it.
<strong>Features:</strong> The interactive browser includes a splash screen (skippable with <codeclass="bg-blue-100 px-1 py-0.5 rounded text-xs">--no-splash</code>), multi-column command listings that adapt to your terminal width, category-based browsing, and the ability to execute commands or view help directly from the interface. Use arrow keys to navigate and Esc to exit.
0 commit comments