Commit Graph

5 Commits

Author SHA1 Message Date
c87463fb2f Extensions: add --no-prefs so it's possible to treat prefs are read-only
Also enable type checking.
2024-03-15 11:29:24 +11:00
6f62b19619 Extensions: change --sync and --enable arguments to "store_true"
Instead of passing in a boolean argument, these arguments are now false
by default and enabled when passed in.

Also rename upgrade to update to match the UI.
2024-03-15 08:51:20 +11:00
3cacffb6c1 Extensions: minor improvements to doc-strings 2024-03-14 20:01:52 +11:00
8a01d114b3 Extensions: various improvements to help text
- When `extensions` runs as a blender command, show the prefix
  `blender --command extension`.
- Remove `--output-type` when run via Blender.
- Add descriptions for each sub-command.
2024-03-14 17:17:37 +11:00
4bf5ffd12c Extensions: add command line access package
Expose command line functionality such as updating/installing extensions
as well as adding/removing repositories & building packages.

Example to install packages:

    blender -c extension install Gold_Pro_Theme,lfs_camera_plane

To remove the packages:

    blender -c extension remove Gold_Pro_Theme,lfs_camera_plane

To list available packages:

    blender -c extension list

To build a package from it's `blender_manifest.toml`

    blender -c extension build

For help text see:

    blender -c extension --help
2024-03-13 21:30:58 +11:00