Class: GithubToCanvasQuiz::CLI
- Inherits:
-
Thor
- Object
- Thor
- GithubToCanvasQuiz::CLI
- Defined in:
- lib/github_to_canvas_quiz/cli.rb
Instance Method Summary collapse
Instance Method Details
#align ⇒ Object
28 29 30 31 32 |
# File 'lib/github_to_canvas_quiz/cli.rb', line 28 def align puts '⬆️ Aligning quiz...' Synchronizer::Quiz.new(client, [:directory]).sync puts '✅ Done' end |
#backup ⇒ Object
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/github_to_canvas_quiz/cli.rb', line 12 def backup puts '⬇️ Converting quiz...' Builder::Quiz.new( client, [:course], [:quiz], [:directory], ).build puts '✅ Done' end |
#version ⇒ Object
35 36 37 |
# File 'lib/github_to_canvas_quiz/cli.rb', line 35 def version puts VERSION end |