Archy publish" - Using --file with Genesys Cloud Architect Flows via CLI?

Right, so we’re trying to get a proper CI/CD pipeline going for Architect flows - TypeScript SDK, Pulumi, the usual. We’ve got flow publishing working fine generally, but it’s slow. I was wondering if there’s a way to use the archy publish command with the --file flag to just push a flow definition directly, bypassing the whole SDK object creation dance? The docs are… sparse on this point.

  1. We’re on Genesys Cloud, API v2. Trying to run archy publish --file myflow.json against a flow ID. 2. It throws this error: Error: Invalid input. Expected a JSON object representing a flow, not a file path.. Seems pretty clear, but it feels like --file should work. Is this a misunderstanding or a missing feature? We’ve tried different JSON structures - looks like it wants a full flow object and not a file containing one.

edit: Just checked, the CLI version is 5.6.0. Pulumi is 3.8.1. TypeScript 4.9.3. Still doing jack all to make that --file option work.