How to add a new UE4editor.exe commandlet

I am working on a function that imports matrials from .obj files to .uasset files.I have finished the function,but i have to start it in editor,I am wondering if i could lunch the function through commandlet just as cook commandlet? The cmd would look like EU4editor.exe my.uproject -run=mycmd

were you able to do it?
I am also stuck in it.

I believe you could create a new class derived from UCommandlet, and implement your feature in Main function of this class. Running command line looks like what you mentioned. Mycmd is your class name without U prefix and Commandlet suffix.

1 Like