{"id":20513391,"url":"https://github.com/connffuused/UnityCommandLine","last_synced_at":"2025-05-09T08:33:01.227Z","repository":{"id":57203639,"uuid":"412347939","full_name":"connffuused/UnityCommandLine","owner":"connffuused","description":"simple plugin to enhance command line arguments in both UnityEditor and Windows Standalone.","archived":false,"fork":false,"pushed_at":"2021-10-02T01:41:05.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-09T06:45:28.313Z","etag":null,"topics":["commandline","editor","tool","unity","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/connffuused.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-01T06:01:51.000Z","updated_at":"2023-12-08T03:34:38.000Z","dependencies_parsed_at":"2022-09-16T14:11:46.179Z","dependency_job_id":null,"html_url":"https://github.com/connffuused/UnityCommandLine","commit_stats":null,"previous_names":["seonghwan-dev/unitycommandline","kyarusii/unitycommandline","connffuused/unitycommandline"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connffuused%2FUnityCommandLine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connffuused%2FUnityCommandLine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connffuused%2FUnityCommandLine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connffuused%2FUnityCommandLine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/connffuused","download_url":"https://codeload.github.com/connffuused/UnityCommandLine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224708905,"owners_count":17356521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["commandline","editor","tool","unity","unity3d"],"created_at":"2024-11-15T21:10:45.226Z","updated_at":"2024-11-15T21:10:46.318Z","avatar_url":"https://github.com/connffuused.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity CommandLine\n\n## Install\n[![NPM](https://nodei.co/npm/com.calci.commandline.png)](https://npmjs.org/package/com.calci.commandline)\n- scope : `com.calci`  \n- package name : `com.calci.commandline`  \n\n## Editor\nthe setting for editor is stored at `Assets/Editor Default Resources/CommandLine Setting.asset`.  \nalso, you can modify the setting in `Project Settings/Command Line`.  \nthis should not be included in standalone build.  \n\n![image](https://user-images.githubusercontent.com/79823287/135699649-8142430f-d98e-4e6a-b688-71ac26460acb.png)\n\n## Standalone\n`Uber\\AutoChessFramework.exe --server=true --address=127.0.0.1 --port=29401 --serverPort=29320 --matchHost=127.0.0.1 --matchPortServer=13982 --matchPortClient=12982 --overrideMatchServer=true --width=1600 --height=900 --fullScreen=false`\n\n## Code\n```csharp\n/// \u003csummary\u003e\n/// Parse overriding commandlines.\n/// \u003c/summary\u003e\nprivate IEnumerator ParseArgument()\n{\n\tif (CommandLineParser.GetBool(\"overrideMatchServer\"))\n\t{\n\t\tmatchmakingServerHost = CommandLineParser.GetString(\"matchHost\", \"127.0.0.1\");\n\t\tmatchmakingServerPort = CommandLineParser.GetInt(\"matchPortServer\");\n\t\t\t\n\t\tmatchmakingServerParsed = true;\t\n\t}\n\telse\n\t{\n\t\t// Download from CDN\n\t\tyield return Registry.Get();\t\n\t\t\t\t\n\t\tmatchmakingServerHost = Registry.Host;\n\t\tmatchmakingServerPort = Registry.Port + 1000;\n\t\t\t\t\t\n\t\tServerLog.Verbose(L(\"MM Host : \") + matchmakingServerHost);\n\t\tServerLog.Verbose(L(\"MM Port : \") + matchmakingServerPort);\n\t}\n}\n```\n\n## API\nAPI will return default values when there is no valid key.  \nYou can specify default value for the situation.  \n\n- `CommandLineParser.HasKey`\n- `CommandLineParser.GetBool`\n- `CommandLineParser.GetString`\n- `CommandLineParser.GetInt`\n- `CommandLineParser.GetFloat`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnffuused%2FUnityCommandLine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnffuused%2FUnityCommandLine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnffuused%2FUnityCommandLine/lists"}