Skip to content

Latest commit

 

History

History
449 lines (265 loc) · 9.38 KB

README.md

File metadata and controls

449 lines (265 loc) · 9.38 KB

Unity Version Manager

License: MIT Test codecov Version Last commit GitHub commit activity Github Stars Github Forks Github Watchers Website GitHub contributors

Unity Version Manager CLI implemented with Python and Typer.

Usage:

$ uvm [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • build: Command to manage the version build
  • code: Command to manage the version code
  • get: Get the version
  • major: Command to manage the version major
  • minor: Command to manage the version minor
  • patch: Command to manage the version patch
  • set: Set the version

uvm build

Command to manage the version build

Usage:

$ uvm build [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get: Get the version build
  • set: Set the version build
  • setup: Increase the version build to the next

uvm build get

Get the version build

Usage:

$ uvm build get [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm build set

Set the version build

Usage:

$ uvm build set [OPTIONS] NUMBER [FILENAME]

Arguments:

  • NUMBER: Version build [required]
  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm build setup

Increase the version build to the next

Usage:

$ uvm build setup [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm code

Command to manage the version code

Usage:

$ uvm code [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get: Get the version code
  • set: Set the version code
  • setup: Increase the version code to the next

uvm code get

Get the version code

Usage:

$ uvm code get [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm code set

Set the version code

Usage:

$ uvm code set [OPTIONS] NUMBER [FILENAME]

Arguments:

  • NUMBER: Version code [required]
  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm code setup

Increase the version code to the next

Usage:

$ uvm code setup [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm get

Get the version

Usage:

$ uvm get [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm major

Command to manage the version major

Usage:

$ uvm major [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get: Get the version major
  • set: Set the version major
  • setup: Increase the version major to the next

uvm major get

Get the version major

Usage:

$ uvm major get [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm major set

Set the version major

Usage:

$ uvm major set [OPTIONS] NUMBER [FILENAME]

Arguments:

  • NUMBER: Version major [required]
  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm major setup

Increase the version major to the next

Usage:

$ uvm major setup [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm minor

Command to manage the version minor

Usage:

$ uvm minor [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get: Get the version minor
  • set: Set the version minor
  • setup: Increase the version minor to the next

uvm minor get

Get the version minor

Usage:

$ uvm minor get [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm minor set

Set the version minor

Usage:

$ uvm minor set [OPTIONS] NUMBER [FILENAME]

Arguments:

  • NUMBER: Version minor [required]
  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm minor setup

Increase the version minor to the next

Usage:

$ uvm minor setup [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm patch

Command to manage the version patch

Usage:

$ uvm patch [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get: Get the version patch
  • set: Set the version patch
  • setup: Increase the version patch to the next

uvm patch get

Get the version patch

Usage:

$ uvm patch get [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm patch set

Set the version patch

Usage:

$ uvm patch set [OPTIONS] NUMBER [FILENAME]

Arguments:

  • NUMBER: Version patch [required]
  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm patch setup

Increase the version patch to the next

Usage:

$ uvm patch setup [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.

uvm set

Set the version

Usage:

$ uvm set [OPTIONS] ARG [FILENAME]

Arguments:

  • ARG: The format must be "*.*.*b*(*)" where * is the major, minor, patch, build and code respectively and all integers. [required]
  • [FILENAME]: Path of ProjectSettings.asset file of the Unity project [envvar: UVM_FILENAME;default: ./ProjectSettings/ProjectSettings.asset]

Options:

  • --help: Show this message and exit.