Skip to content

Commit b5aa560

Browse files
docs
1 parent ebbcd4a commit b5aa560

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ With options always using double dashes (`--option`) and arguments passed direct
5454
- `unity-cli open-project [options]`: Open a Unity project in the Unity Editor
5555
- `unity-cli run [options] <args...>`: Run Unity Editor command line arguments (passes args directly to the editor)
5656

57+
#### Unity Package Manager
58+
59+
- `unity-cli sign-package [options]`: Sign a Unity package for distribution.
60+
5761
Run `unity-cli --help` for a full list of commands and options.
5862

5963
#### Install Unity Hub and Editor
@@ -94,3 +98,12 @@ unity-cli open-project
9498
```bash
9599
unity-cli run --unity-project <path-to-project> -quit -batchmode -executeMethod StartCommandLineBuild
96100
```
101+
102+
#### Sign a Unity Package
103+
104+
> [!NOTE]
105+
> 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.
106+
107+
```bash
108+
unity-cli sign-package --package <path-to-package-folder> --email <your-email> --password <your-password> --organization <your-organization-id>
109+
```

src/cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,4 +677,5 @@ program.command('sign-package')
677677
}
678678
}
679679
});
680+
680681
program.parse(process.argv);

0 commit comments

Comments
 (0)