Rocket.Chat.Apps-cli
Rocket.Chat.Apps-cli copied to clipboard
Use cli without interaction
I'd like to use the cli on a CI environment, thus I'd need to use all commands without any kind of interaction.
The basic functionality I'd like to have on CI would be:
login- I don't think there is a way to set any credentials or how to get an access token from Cloud
package- Working fine
submit- Need a way to pass the changelog and skip the "ready to submit" confirmation
These are the issues I've found so far.
Indeed those might have been overlooked when introducing the latest changes. Unfortunately, we don't have the bandwidth to handle this for now :/
I think the login one actually can be hacked around. Just would need to set the "home" location and create the necessary file from secret in CI.
Hardest part would be the https://github.com/RocketChat/Rocket.Chat.Apps-cli/blob/master/src/misc/cloudAuth.ts#L233 I think encryption key would probably change in ci