Method: ShopifyCLI::Context#cp
- Defined in:
- lib/shopify_cli/context.rb
#cp(from, to) ⇒ Object
will copy a directory from the FS, the filepath is relative to the command root unless absolute
#### Parameters
-
‘from` - the path of the original file
-
‘to` - the destination path
309 310 311 |
# File 'lib/shopify_cli/context.rb', line 309 def cp(from, to) FileUtils.cp(ctx_path(from), ctx_path(to)) end |