To generate a .spine
file using the CLI from a JSON file and a folder of image fragments, you can use the following command:
Spine -i <path to your JSON file> -o <path to save the .spine file> -r
The -r
flag is used to import the JSON file and create a .spine
project file. To specify the version of Spine you want to use, you can include the -u
flag followed by the version number. For example, if you want to use version 3.8.99, the command would look like this:
Spine -u 3.8.99 -i <path to your JSON file> -o <path to save the .spine file> -r
Make sure to replace <path to your JSON file>
and <path to save the .spine file>
with the actual paths on your system.