Godot: Add a flag to create a project from the CLI

Created on 11 Feb 2019  路  3Comments  路  Source: godotengine/godot

Godot version:

3.0.6

OS/device including version:

Linux

Issue description:

Could the godot CLI have a -i/--init flag that creates a new project at the provided path?

I often spin up new projects in /tmp to just quickly test things out, and I find the current process a little clumsy. In particular, regardless of where I start godot from, the project path always defaults to $HOME, so I have to navigate through a file dialog when I already had a shell open exactly where I wanted a new project.

enhancement editor

Most helpful comment

So far, I have initialized many projects using touch project.godot. It doesn't generate default environment, audiobus, and icon, but gets the job done.

That being said, such an option would be nice!

All 3 comments

I realize I could probably create a script to copy a skeleton dir containing project.godot, default_env.tres, ect. to a new directory and start the editory, but this would have to be kept up-to-date with the skeleton on master

So far, I have initialized many projects using touch project.godot. It doesn't generate default environment, audiobus, and icon, but gets the job done.

That being said, such an option would be nice!

Working on it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

blurymind picture blurymind  路  3Comments

gonzo191 picture gonzo191  路  3Comments

testman42 picture testman42  路  3Comments

Zylann picture Zylann  路  3Comments

EdwardAngeles picture EdwardAngeles  路  3Comments