getVersion.lua 477 B

1234567891011121314151617181920212223
  1. return {
  2. tag = 'system',
  3. summary = 'Get the current version.',
  4. description = 'Get the current major, minor, and patch version of LÖVR.',
  5. arguments = {},
  6. returns = {
  7. {
  8. name = 'major',
  9. type = 'number',
  10. description = 'The major version.'
  11. },
  12. {
  13. name = 'minor',
  14. type = 'number',
  15. description = 'The minor version.'
  16. },
  17. {
  18. name = 'patch',
  19. type = 'number',
  20. description = 'The patch number.'
  21. }
  22. }
  23. }