Method: ShopifyCLI::Context#mkdir_p

Defined in:
lib/shopify_cli/context.rb

#mkdir_p(path) ⇒ Object

will create a directory, recursively if it does not exist. So if you create a directory ‘foo/bar/dun`, this will also create the directories `foo` and `foo/bar` if they do not exist. The path will be made relative to the command root unless absolute

#### Parameters

  • ‘path` - file path of the directory that you want to create



362
363
364
# File 'lib/shopify_cli/context.rb', line 362

def mkdir_p(path)
  FileUtils.mkdir_p(path)
end