I'd end up with something like this:

```
# get_data: :environment means that you're defining a task that named "get_data" that depends on the "environment" task. The "environment" task is a task from Rails that sets up the Rails environment - it's a good idea to depend on it so you have Rails available to you.
task get_data: :environment do
  DataGetter.new.run
end
```