mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
chore: add example usage
This commit is contained in:
parent
14a2d9422b
commit
645b2a8bda
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,8 @@ namespace :report do
|
|||
end
|
||||
|
||||
namespace :measure do
|
||||
# usage:
|
||||
# bundle exec rake "report:measure:district_summary[Wareham, 2023-24]"
|
||||
task :district_summary, %i[district ay] => :environment do |_, args|
|
||||
district = District.find_by_name args[:district]
|
||||
academic_years = AcademicYear.where(range: args[:ay])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue