Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godots cli, help command #38

Merged
merged 2 commits into from
Oct 18, 2023
Merged

Godots cli, help command #38

merged 2 commits into from
Oct 18, 2023

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