Sha256: 72ce54232a10eebf74f1f7b4f915fa695157bc7eb1115824e6e8a1bf29ea03cb

Contents?: true

Size: 453 Bytes

Versions: 2

Compression:

Stored size: 453 Bytes

Contents

Bloggit::Cmdline.register do |cmd, site|
  unless site.nil?

    theme_cmd = CmdParse::Command.new( 'theme', true, true )
    theme_cmd.short_desc = "Theme Management"
    cmd.add_command( theme_cmd )

    new_theme = CmdParse::Command.new( 'new', false )
    new_theme.short_desc = "Create a new theme"
    new_theme.set_execution_block do |args|
      #page = Bloggit::Page.to_file(args.to_s)
    end

    theme_cmd.add_command( new_theme )
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bloggit-1.0.3 lib/bloggit/commands/theme_cmd.rb
bloggit-1.0.7 lib/bloggit/commands/theme_cmd.rb