Class: WorkReport::CLI
- Inherits:
-
Thor
- Object
- Thor
- WorkReport::CLI
- Defined in:
- lib/work_report.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) github_commits
158 159 160 161 |
# File 'lib/work_report.rb', line 158 def github_commits github_activity = GithubActivity.new(.github_user, nil) puts github_activity.commits_to_csv end |
- (Object) github_releases
166 167 168 169 |
# File 'lib/work_report.rb', line 166 def github_releases github_activity = GithubActivity.new(.github_user, .github_token) puts github_activity.releases_to_csv end |
- (Object) redmine_activities
175 176 177 178 |
# File 'lib/work_report.rb', line 175 def redmine_activities redmine_activity = RedmineActivity.new(.redmine_url, .redmine_api_key, .redmine_user_id) puts redmine_activity.activities_to_csv end |