Skip to content

Instantly share code, notes, and snippets.

@caseylang
caseylang / copy_config_files
Created February 19, 2015 01:18
Copy Config Files
#!/usr/bin/env ruby
require 'find'
require 'fileutils'
def main
example_files = gather_example_files(ARGV[1])
case ARGV[0]
when 'copy' then copy_and_rename(example_files)
when 'validate' then validate_config_files_presence(example_files)

Keybase proof

I hereby claim:

  • I am caseylang on github.
  • I am caseylang (https://keybase.io/caseylang) on keybase.
  • I have a public key whose fingerprint is F7D0 F81F 0B73 260E 35B3 70BA 9419 DC8B 09D7 A423

To claim this, I am signing this object: