Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 26 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,29 @@ With options always using double dashes (`--option`) and arguments passed direct

#### Auth

- `unity-cli license-version`: Print the Unity License Client version
- `unity-cli activate-license [options]`: Activate a Unity license
- `unity-cli return-license [options]`: Return a Unity license
- `unity-cli license-version`: Print the Unity License Client version.
- `unity-cli activate-license [options]`: Activate a Unity license.
- `unity-cli return-license [options]`: Return a Unity license.

#### Unity Hub

- `unity-cli hub-version`: Print the Unity Hub version
- `unity-cli hub-install [options]`: Install or update the Unity Hub
- `unity-cli hub-path`: Print the Unity Hub executable path
- `unity-cli hub [options] <args...>`: Run Unity Hub command line arguments (passes args directly to the hub executable)
- `unity-cli hub-version`: Print the Unity Hub version.
- `unity-cli hub-install [options]`: Install or update the Unity Hub.
- `unity-cli hub-path`: Print the Unity Hub executable path.
- `unity-cli hub [options] <args...>`: Run Unity Hub command line arguments (passes args directly to the hub executable).

#### Unity Editor

- `unity-cli setup-unity [options]`: Find or install the Unity Editor for a project or specific version
- `unity-cli uninstall-unity [options]`: Uninstall a Unity Editor version
- `unity-cli list-project-templates [options]`: List available Unity project templates for an editor
- `unity-cli create-project [options]`: Create a new Unity project from a template
- `unity-cli open-project [options]`: Open a Unity project in the Unity Editor
- `unity-cli run [options] <args...>`: Run Unity Editor command line arguments (passes args directly to the editor)
- `unity-cli setup-unity [options]`: Find or install the Unity Editor for a project or specific version.
- `unity-cli uninstall-unity [options]`: Uninstall a Unity Editor version.
- `unity-cli list-project-templates [options]`: List available Unity project templates for an editor.
- `unity-cli create-project [options]`: Create a new Unity project from a template.
- `unity-cli open-project [options]`: Open a Unity project in the Unity Editor.
- `unity-cli run [options] <args...>`: Run Unity Editor command line arguments (passes args directly to the editor).

#### Unity Package Manager

- `unity-cli sign-package [options]`: Sign a Unity package for distribution.

Run `unity-cli --help` for a full list of commands and options.

Expand Down Expand Up @@ -94,3 +98,12 @@ unity-cli open-project
```bash
unity-cli run --unity-project <path-to-project> -quit -batchmode -executeMethod StartCommandLineBuild
```

#### Sign a Unity Package

> [!NOTE]
> The `--output` option is optional. If not specified, the package contents will be updated in place with the signed `.attestation.p7m` file. Otherwise a signed `.tgz` file will be created in the specified output directory.

```bash
unity-cli sign-package --package <path-to-package-folder> --email <your-email> --password <your-password> --organization <your-organization-id>
```
63 changes: 61 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rage-against-the-pixel/unity-cli",
"version": "1.2.3",
"version": "1.3.0",
"description": "A command line utility for the Unity Game Engine.",
"author": "RageAgainstThePixel",
"license": "MIT",
Expand Down Expand Up @@ -54,6 +54,7 @@
"glob": "11.0.3",
"semver": "^7.7.2",
"source-map-support": "^0.5.21",
"tar": "^7.5.1",
"update-notifier": "^7.3.1",
"yaml": "^2.8.1"
},
Expand Down
Loading
Loading