lib/hexlet/teacher_cli.rb in hexlet-0.0.1 vs lib/hexlet/teacher_cli.rb in hexlet-0.1.0
- old
+ new
@@ -1,7 +1,7 @@
module Hexlet
class TeacherCLI < BaseCLI
- desc "submit PATH_TO_LESSON", "login on hexlet.io"
+ desc "submit PATH_TO_LESSON", "submit lesson"
def submit(path)
lesson_folder = File.split(path)[1]
parts = lesson_folder.split("_")
if parts.last != "lesson"