lib/pebbles/lovelive/cli.rb in pebbles-lovelive-0.1.0 vs lib/pebbles/lovelive/cli.rb in pebbles-lovelive-0.2.0
- old
+ new
@@ -35,9 +35,16 @@
puts ""
invoke :help, ['member']
end
end
+ desc 'members', 'show member list'
+ def members
+ LoveLive.members.each do |key, member|
+ puts member.name
+ end
+ end
+
desc 'story [option]', 'show story'
option :desc, type: :boolean, :desc => "show description"
def story
story = LoveLive.story
story.print(options[:desc])