clear

The clear command cleans up the files generated by godot-object-compiler, including the TypeDB cache and generated source and header files. Additional files such as lock files are also removed.

It may be necessary to run this command, or manually delete the generated directories, when godot-object-compiler encounters an unrecoverable issue. The CLI will instruct you when this is the case.

Hint

This program requires a project to work with. Please provide the project information by supplying the following arguments:

–root_path=, -R=

The projects root path, including the generator target files

–goc_path=, -P=

The folder the godot-object-compiler can place files in

–generated_path=, -G=

The folder the godot-object-compiler should place generated files in

–cache_path=, -C=

The godot-object-compiler cache folder, including the type database

–include_paths=, -I=

The generators include paths, comma seperated. Must include the godot-cpp include and gen/include paths.

–sources=, -S=

The generators target source file paths, comma seperated.

–godot_cpp=, -GPP=

The path to the godot-cpp repositories root used with your extension.

–extension_api=, -E=

The path to the extension api json file to be used with your extension.

–source_parser=, -SP=

The name of the source parser to be used by godot-object-compiler.

You can also use a godot-object-compiler project file alternatively.

Help Text:

Clear the type database and all generated files.