Skip to main content

Fetch

The Fetch command is an interface to Fetch configurations of supported services from the backend. This allows updating local deployable configuration with changes that have been done through the dashboard.

Supported services: Remote Config, Cloud Code (Javascript only), Economy, Leaderboards, Access, Matchmaker, Triggers, Scheduler and Matchmaker.

Command

ugs fetch <path> [options]

Arguments

<path> the path to fetch to. Accepts a single directory. Specify '.' to fetch into the current directory.

Options

AliasDescription
project-id-p, --project-idThe Unity cloud project ID.
environment-e, --environment-nameThe services environment name.
help-?, -h, --helpDisplay help and usage information.
quiet-q, --quietReduce logging to a minimum.
json-j, --jsonUse JSON as the output format.
reconcile--reconcileRemote content that does not exist locally will be created at the root.
dry run--dry-runPerform a trial run with no changes made. Reports on what will be created, updated or deleted as applicable.
service--services, -sThe name(s) of the service(s) to perform the command on