tools/eos-application-manifest/commands/version.js
raw| 1 | // Copyright 2013 Endless Mobile, Inc. |
| 2 | |
| 3 | const System = imports.system; |
| 4 | |
| 5 | function execute(args) { |
| 6 | print("%s version %s".format(System.programInvocationName, programVersion)); |
| 7 | } |
| 8 | |
| 9 | function summary() { |
| 10 | return "Version information"; |
| 11 | } |
| 12 | |
| 13 | function help() { |
| 14 | print("Prints the version and exits."); |
| 15 | } |