Setup CLI

If you need to setup the CLI tool in the server:

▶️ (1) open the Cadmus CLI tool backend repository at https://github.com/vedph/cadmus-core and find the URL of the latest release version under Releases.

▶️ (2) download it and unzip in some folder, e.g.:

# download
wget https://github.com/vedph/cadmus-core/releases/download/v.16.0.11/v.16.0.11-linux-x64.tar.gz

# unzip
tar -xzf v.16.0.11-linux-x64.tar.gz
rm v.16.0.11-linux-x64.tar.gz

# move to unversioned folder
mv v.16.0.11-linux-x64/* cadmus-tool/
rm -rf v.16.0.11-linux-x64

# ensure the tool is executable
chmod +x cadmus-tool/cadmus-tool

You can now enter the folder and type ./cadmus-tool to get an overview of available commands.