nativescript-cli
nativescript-cli copied to clipboard
command to get app infos
I know there is a ns config command to read project config. However it is not enough .
what s needed:
- command to get app id. This could be done with
ns configbut i cant find a way to read only theidkey ? - command to read build version and build number for iOS/Android. This is very important for plugins like sentry.
Right now i have some kind of a working implementation here https://github.com/farfromrefug/nativescript-set-version/blob/master/lib/get_version.js#L11.
However it would be much more suited inside the cli. For instance getting the location of info.plist and app.gradle is very ugly in my plugin while it is already implemented and elegant in the cli.