Sha256: c745cccf264367d930335a60890901c86a9cb43f6e05e8ef0c573628a97f5f64
Contents?: true
Size: 392 Bytes
Versions: 3
Compression:
Stored size: 392 Bytes
Contents
#!/usr/bin/env ruby require 'murlsh' def usage puts <<-eos Initialize a murlsh site instance in a web directory. usage: murlsh DESTINATION_DIRECTORY eos end if ARGV.empty?; usage; exit 1; end dest_dir = ARGV[0] Murlsh.install(dest_dir) cd_command = File.expand_path(dest_dir) == Dir.pwd ? '' : "cd #{dest_dir}\n" puts <<eos Next steps: #{cd_command}edit config.yaml rake init eos
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
murlsh-1.5.0 | bin/murlsh |
murlsh-1.4.1 | bin/murlsh |
murlsh-1.4.0 | bin/murlsh |