RSS Feed/News How to create a custom CLI command for an add-on?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,664
Points
823

Reputation:

Is there any documentation on how to create a custom command that can be run with php cmd.php xf-rebuild:foo or similar?

I've looked at some other addons and also tried creating relevant files under AddonFolder/Cli/Command but it doesn't seem to be picked up..

I'm surely missing some registration of the command, but I can't seem to find it 🙈

Continue reading...
 
Status
Not open for further replies.
Top