Skip to content

Conversation

@artsich
Copy link
Contributor

@artsich artsich commented Oct 18, 2023

Add GODOTS CLI parser and implementation of help command.

Example of usage:

  • godots.exe --headless --ghelp
    or
  • godots.exe --headless -gh

class_name Help

func print_commands(commands: Array[CliCommand]):
var commandsByNamespace: Dictionary = {}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to snake_case

src/main/main.gd Outdated
func _ready():
var args = OS.get_cmdline_args()
var user_args = OS.get_cmdline_user_args()
var s = OS.has_feature("dedicated_server")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

@MakovWait
Copy link
Owner

спасибо!!

@MakovWait MakovWait merged commit 3d3c6c7 into MakovWait:main Oct 18, 2023
@artsich artsich deleted the godots-cli branch October 19, 2023 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants