lib/scripto/file_commands.rb
def mkdir(dir, owner: nil, mode: nil)
      FileUtils.mkdir_p(dir, verbose: verbose?)
      chown(dir, owner) if owner
      chmod(dir, mode) if mode
    end
def mkdir(dir, owner: nil, mode: nil)
      FileUtils.mkdir_p(dir, verbose: verbose?)
      chown(dir, owner) if owner
      chmod(dir, mode) if mode
    end
Like mkdir -p +dir+. If +owner+ is specified, the directory will be
 chowned to owner. If +mode+ is specified, the directory will be chmodded
 to mode. Like all file commands, the operation will be printed out if
 verbose?.