I’ll try to explain what I want to do.
Let’s say I have 3 projects in my organisation (Dev, Q, and production) and I work on my Realm applications on dev and now they’re are ready to be moved to Q but don’t want to move them manually each time.
So I have made a shell script which moves them for me by taking ID inputs and runs the command " realm-cli apps init --remote $ID --name “test” " and afterwards runs “realm-cli push -y” this will prompt me to choose a project and I’ll have to manually choose a project.
I might have missed it but can’t figure it out if it is possible to pass this project id along with the push command so it will push it to the desired project without relying on direct input but just the IDs and the ID of the desired project ?
Also for some reason it doesn’t recognize the --name flag and just uses the name from the remote flag.
I’ve tried using “realm-cli apps create” instead but this command always creates the new realm application in the same project.
I hope it makes sense, and there is a solution.