Skip to content

Commit

Permalink
Add descriptions for rake tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Oct 30, 2024
1 parent c3beebf commit 05aad9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ task :verify_conferences do
exit 6 if validator.missing_announced_on_date?
end

desc "verify meetups"
task :verify_meetups do
allowed_keys = [
"name",
Expand All @@ -76,6 +77,7 @@ task :verify_meetups do
exit 6 if validator.duplicate_events?
end

desc "fetch meetups"
task :fetch_meetups do
MeetupsFile.read.tap do |file|
file.fetch!
Expand All @@ -85,13 +87,15 @@ end

# to fetch a single group run:
# bundle exec rake fetch_meetup[sfruby]
desc "fetch a single group"
task :fetch_meetup, [:group_id] do |_, args|
MeetupsFile.read.tap do |file|
file.fetch!(args[:group_id])
file.write!
end
end

desc "sort meetups"
task :sort_meetups do
MeetupsFile.read.tap do |file|
file.write!
Expand Down

0 comments on commit 05aad9f

Please sign in to comment.