Snapcraft cli promote from edge

I’m trying to create an unattended script that promotes builds from latest/edge to what ever I have determined is appropriate but it doesn’t appear this is possible due to https://github.com/snapcore/snapcraft/blob/131c99fd9da6272e138479798af643a079dfc3f9/snapcraft/cli/store.py#L387-L394

The error is edge is not a valid set value for --from-channel when using --yes.

I’m thoroughly confused what the user experience is for the snapcraft tool. If I connect my github repo to my snapcraft account for automatic builds, those go to edge. How does one automatically promote edge to beta for instance?

The first resolution seems to grep the output of snapcraft revisions and iterate over the STDOUT but doing such things is never a great idea.

Hopefully I’m just missing something basic here as this is my first time trying to promote revisions in an unattended fashion.