createDirectory.lua 457 B

123456789101112131415161718192021
  1. return {
  2. summary = 'Create a directory.',
  3. description = [[
  4. Creates a directory in the save directory. Any parent directories that don't exist will also be
  5. created.
  6. ]],
  7. arguments = {
  8. {
  9. name = 'path',
  10. type = 'string',
  11. description = 'The directory to create, recursively.'
  12. }
  13. },
  14. returns = {
  15. {
  16. name = 'success',
  17. type = 'boolean',
  18. description = 'Whether the directory was created.'
  19. }
  20. }
  21. }