Realm cli - force import

I am using realm-cli import command to deploy the changes. It always prompts to confirm the changes. Can this be ignored in any way?

realm-cli import --app-id=<api_id> --path=<project_path>

Please confirm the changes shown above: [y/n]:

the --yes flag should automatically proceed through prompts:

realm-cli --help

Flags:
      --profile string         specify the profile name to use (default "default")
      --telemetry string       enable or disable telemetry (this setting is remembered), available options: ["off", "on"]
  -o, --output-target string   write output to the specified filepath
  -f, --output-format string   set the output format, available options: [json]
      --disable-colors         disable output styling
  -y, --yes                    set to automatically proceed through command confirmations
  -h, --help                   help for realm-cli
  -v, --version                version for realm-cli
2 Likes

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.