-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Max Larionov - Github-team-remover progress(Finished.) #3
base: master
Are you sure you want to change the base?
Conversation
Remover::List.new(github).unused_teams.each do |team| | ||
puts team.name | ||
Remover::List.new(github).unused_teams.each do |unused_team| | ||
puts " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@des1tro could you please create separate class for reporting this information?
Remover::Report.new(unused_team).report
Remover::List.new(github).unused_teams.each do |team| | ||
puts team.name | ||
puts 'Unused teams:'.colorize(color) | ||
if verbose? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create separata class for outputting invormation.
Logic should be incapsulated there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, will do it today and global refactoring.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got really huge troubles with making another class, code not working on my PC, but works on another.
Updated readme
Finished. Everything works and fine.
description commit #2 Added coloring text as --c color. Will refactor it into another class after finishing --verbose.
gem colorize is working fine.
description commit #1 Made yet not working class commander, where all logic for commands is going to be, added gem colorize for further coloring, and now terminal shows amount of users and repos.