{"id":14960707,"url":"https://github.com/liortal53/ucmd","last_synced_at":"2026-03-08T08:33:58.325Z","repository":{"id":228681947,"uuid":"258694791","full_name":"liortal53/UCmd","owner":"liortal53","description":"UCmd improves Unity's command line execution by supporting running methods with parameters","archived":false,"fork":false,"pushed_at":"2025-07-27T12:31:57.000Z","size":166,"stargazers_count":8,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-27T14:42:00.810Z","etag":null,"topics":["cli","command-line","editor","executemethod","terminal","unity","unity-build","unity-editor","unity3d","unity3d-editor","unity3d-plugin"],"latest_commit_sha":null,"homepage":"https://assetstore.unity.com/packages/tools/utilities/ucmd-125946","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/liortal53.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-04-25T05:27:32.000Z","updated_at":"2025-02-28T21:31:50.000Z","dependencies_parsed_at":"2024-03-20T00:42:31.799Z","dependency_job_id":null,"html_url":"https://github.com/liortal53/UCmd","commit_stats":null,"previous_names":["liortal53/ucmd"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/liortal53/UCmd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liortal53%2FUCmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liortal53%2FUCmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liortal53%2FUCmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liortal53%2FUCmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liortal53","download_url":"https://codeload.github.com/liortal53/UCmd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liortal53%2FUCmd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273183157,"owners_count":25059811,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","command-line","editor","executemethod","terminal","unity","unity-build","unity-editor","unity3d","unity3d-editor","unity3d-plugin"],"created_at":"2024-09-24T13:22:48.627Z","updated_at":"2026-03-08T08:33:58.296Z","avatar_url":"https://github.com/liortal53.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UCmd\nSupercharge Unity's command line execution, allowing execution of methods with arguments.\n\n![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)\n\n## Features\n\n[Command Line Execution](#command-line-execution) - Run Unity from the command line, execute methods with arguments.\n\n## Quick Start Guide\n\n### Installation\n\n#### Unity Asset Store\nInstall directly from the [Unity Asset Store](https://assetstore.unity.com/packages/tools/utilities/ucmd-125946) (FREE). \n\n#### Installing from GitHub Repo\n\n1. Visit the [Releases page](https://github.com/liortal53/UCmd/releases) and download the latest `UCmd.dll`.\n2. Open Unity and place this file in an Editor folder.\n\n### Usage\n\n#### Command Line Execution\nUnity can be launched from the [command line](https://docs.unity3d.com/Manual/EditorCommandLineArguments.html). This is useful for CI/CD cases (automatically building your project on a build server).\n\nIt works by supplying the name of a static method using the *-executeMethod* argument:\n\n    Unity -executeMethod MyClass.MyStaticMethod\n\n*MyStaticMethod* must be defined without any arguments, so if the build requires any additional data, it must be extract from the command line arguments inside this method:\n\n```csharp\nprivate static void MyStaticMethod()\n{\n   // Extract any additional arguments from the command line\n   var platform = GetOptionFromCommandLine(\"platform\");\n   var data = GetOptionFromCommandLine(\"data\");\n}\n```\n\nWith UCmd, the same syntax is used, but the method executed is UCmd.Run:\n\n    Unity -executeMethod UCmd.Run MyClass.MyStaticMethod\n\nNow it's possible to execute methods that take additional arguments.\n\nUCmd acts as a \"middle man\", using reflection to invoke the required method and passing it the arguments from the command line:\n\n    Unity -executeMethod UCmd.Run MyClass.MyStaticMethod \"Android\" \"1.0.0\" \"data\"\nAnd the method definition:\n\n```csharp\nprivate static void MyStaticMethod(string platform, string version, string data)\n{\n  // Build code here\n}\n```\n\n## Contact\nFor support or any additional feature requests, please report an issue, or conact me directly: liortal53@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliortal53%2Fucmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliortal53%2Fucmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliortal53%2Fucmd/lists"}