cal_exporter 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/cal_exporter.rb +2 -2
- data/lib/cal_exporter/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
data/lib/cal_exporter.rb
CHANGED
@@ -9,8 +9,8 @@ require "pry"
|
|
9
9
|
module CalExporter
|
10
10
|
class CLI < Thor
|
11
11
|
|
12
|
-
desc "
|
13
|
-
def
|
12
|
+
desc "calendar CALENDER_ID FORMAT SAVE_LOCATION", "Export calender with specified file format"
|
13
|
+
def calendar(calendar_id, format, save_location)
|
14
14
|
import = Importer.new(calendar_id)
|
15
15
|
calendars = import.fetch
|
16
16
|
export = Exporter.new(format, save_location)
|
data/lib/cal_exporter/version.rb
CHANGED