def do_create(action)
      options = do_creation_options
      options.title ||= @params.first

      @helper.send("#{action}_usage") unless options.title
      fn = @commands.send(action, options)
      puts "#{@src_dir}/#{fn}"
    end
def do_create(action)
      options = do_creation_options
      options.title ||= @params.first

      @helper.send("
      fn = @commands.send(action, options)
      puts "
    end
def do_create ( action ) options = do_creation_options options . title ||= @params . first @helper . send ( "#{action}_usage" ) unless options . title fn = @commands . send ( action , options ) puts "#{@src_dir}/#{fn}" end
action is a string, either 'post' or 'draft'
action is a string either post or draft