keboola / developer-portal-cli-v2

MIT License
0 stars 1 forks source link

Add update App command #11

Closed davidesner closed 5 years ago

davidesner commented 5 years ago

Would it be possible to add a command that could update any attribute in the app config? Mainly configurationSchema, configurationDescription,testConfiguration...

These could be added to the update-app-repository command I think. Or maybe allow to input the full json as a parameter?

It would be useful for CI to sync app configuration directly from the git repository.

odinuv commented 5 years ago

update-app-repository does what the name says, so let's add a new command for this. I don't think that passing jsons via command line arguments is a good idea - you need to deal with escaping a lot of special characters and you can hit some weird limits, so i'd say it should be able to read those from files

odinuv commented 5 years ago

done in 179e2cf, new command update-app-property allows both to enter a value via command line and read the value from file.