getWorkingDirectory.lua 374 B

123456789101112131415
  1. return {
  2. summary = 'Get the current working directory.',
  3. description = [[
  4. Returns the absolute path of the working directory. Usually this is where the executable was
  5. started from.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. {
  10. name = 'path',
  11. type = 'string',
  12. description = 'The current working directory, or `nil` if it\'s unknown.'
  13. }
  14. }
  15. }