From 05d2480f5e7aa2a7ee72e5cfb0af65ca129f655a Mon Sep 17 00:00:00 2001 From: Snider Date: Wed, 4 Mar 2026 17:40:04 +0000 Subject: [PATCH] fix: restore init() for command self-registration Co-Authored-By: Virgil --- cmd.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd.go b/cmd.go index 4cecacc..10adf74 100644 --- a/cmd.go +++ b/cmd.go @@ -9,6 +9,10 @@ import ( "forge.lthn.ai/core/go/pkg/io" ) +func init() { + cli.RegisterCommands(AddPHPCommands) +} + // DefaultMedium is the default filesystem medium used by the php package. // It defaults to io.Local (unsandboxed filesystem access). // Use SetMedium to change this for testing or sandboxed operation.