getSource.lua 434 B

123456789101112131415161718
  1. return {
  2. tag = 'filesystem-paths',
  3. summary = 'Get the location of the project source.',
  4. description = 'Get the absolute path of the project\'s source directory or archive.',
  5. arguments = {},
  6. returns = {
  7. path = {
  8. type = 'string',
  9. description = 'The absolute path of the project\'s source, or `nil` if it\'s unknown.'
  10. }
  11. },
  12. variants = {
  13. {
  14. arguments = {},
  15. returns = { 'path' }
  16. }
  17. }
  18. }