A command line interface for Godot's GDExtension
Project description
gdextension-cli
A command line interface for Godot's GDExtension.
My intention with this tool was to create an automated way to create a C++ based GDExtension
project. The process behind gdextension-cli new <NAME>
is
based Godot's GDExtension documentation.
Therefore, this tool implements a templating mechanism to create projects from a git repository or
a local directory. By default, the new
command uses https://github.com/3LK3/gdextension-template
as the template. You can also use your own repository.
Requirements
- Python >= 3.8
- Git
- SCons
- you will most likely need SCons to build your extension anyway. But since you have python
installed, you can install SCons via
pip install scons
- you will most likely need SCons to build your extension anyway. But since you have python
installed, you can install SCons via
Installation
pip install gdextension-cli
Usage
Create a new project
gdextension-cli new <NAME>
This will create a project called in a new directory relative to your current path.
By default, https://github.com/3LK3/gdextension-template is used as the project template.
From a custom git repository
You can also use your own template repository to create a new project.
gdextension-cli new <NAME> --from-git https://github.com/<you>/<your-custom-template>
From a local directory
If you have a template on your local file system you can also create a project from there.
gdextension-cli new <NAME> --from-local /home/you/your_template
Technical insides
Uses the following python libraries:
- Jinja2 used for templating new projects
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gdextension_cli-0.0.2.tar.gz
.
File metadata
- Download URL: gdextension_cli-0.0.2.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0b3b4085b078fc7113e1a86084fd0147fa31d69c560d1debc7fbf5d653029dd |
|
MD5 | 6a0d3fdc4a24bf2cb631e58ced2c965d |
|
BLAKE2b-256 | a043d4e5d8c1dc6290eb419a42499a217e331b3abf24ca0db8391e652af6f096 |
File details
Details for the file gdextension_cli-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: gdextension_cli-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4206439806ffe644987579477cb24dac4da2667ccb838874708af3c250f0103a |
|
MD5 | b4dc4e7d4f4f65b286c94e1d6880730f |
|
BLAKE2b-256 | dca1f49c9d6208e8e38e23a5d0768198e784dd7344a5034c87c3604598992daf |