cal_exporter 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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