Class: CmdInit

Inherits:
Cmd
  • Object
show all
Includes:
AssetHelper
Defined in:
lib/punt/cmd/cmd_init.rb

Instance Method Summary collapse

Methods included from AssetHelper

#asset_path, #copy_without_overwriting, #dst_path, #src_path

Methods inherited from Cmd

#name, #options, #setup, #summary, tag

Instance Method Details

#run(argv) ⇒ Object



7
8
9
# File 'lib/punt/cmd/cmd_init.rb', line 7

def run(argv)
    copy_without_overwriting   src: ["init", "puntfile.yml"], dst: ["puntfile.yml"]
end