Sha256: 428cb473a949c4baf6e1b1f9270272357f7f2774937ff1cac320c9c7e17c9deb
Contents?: true
Size: 867 Bytes
Versions: 1
Compression:
Stored size: 867 Bytes
Contents
#!/usr/bin/env ruby $: << File.expand_path(File.dirname(__FILE__) + "/../lib") require 'rubygems' require 'bundler/setup' require 'commander/import' require 'jekyll-ftp.rb' program :version, Jekyll_FTP::VERSION program :description, 'Jekyll deployment made easy.' command :deploy do |c| c.syntax = 'jekyll-ftp deploy' c.summary = 'Deploy your site via FTP with the preconfigured server settings.' c.description = 'Deploy your site via FTP.' c.action do |args, options| Jekyll_FTP::Command.deploy end end command :clean do |c| c.syntax = 'jekyll-ftp clean' c.summary = 'Just remove all files in the given remote directory.' c.description = c.summary c.example 'Remove the files in the preconfigured directory.', 'jekyll-ftp clean' c.action do |args, options| Jekyll_FTP::Command.deploy(false) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-ftp-0.2.0 | bin/jekyll-ftp |