lib/controllers/new.rb in evertils-0.1.4 vs lib/controllers/new.rb in evertils-0.1.5
- old
+ new
@@ -1,9 +1,9 @@
module Granify
module Controller
class New < Controller::Base
- attr_accessor :title, :file, :notebook
+ attr_accessor :title, :file, :notebook, :force
def pre_exec
begin
# interface with the Evernote API so we can use it later
@model = Granify::Helper.load('evernote')
@@ -23,10 +23,10 @@
opt.on("-f", "--file=PATH", "Attach a file to your custom note") do |file|
@file = file
end
- opt.on("-n", "--notebook=PBOOK", "Attach a file to your custom note") do |notebook|
+ opt.on("-n", "--notebook=PBOOK", "Choose the notebook to add your note to") do |notebook|
@notebook = notebook
end
opt.on("-b", "--body=BODY", "Note body") do |body|
@body = body
\ No newline at end of file