Method: ShopifyCLI::Context#rm_rf

Defined in:
lib/shopify_cli/context.rb

#rm_rf(fname) ⇒ Object

will force remove a directory from the FS, the filepath is relative to the command root unless absolute

#### Parameters

  • ‘fname` - the file path to a directory, relative to the context root to remove from the FS



350
351
352
# File 'lib/shopify_cli/context.rb', line 350

def rm_rf(fname)
  FileUtils.rm_rf(ctx_path(fname))
end