class Rails::Generators::DevcontainerGenerator

def features

def features
  return @features if @features
  @features = {
    "ghcr.io/devcontainers/features/github-cli:1" => {}
  }
  @features["ghcr.io/rails/devcontainer/features/activestorage"] = {} if options[:active_storage]
  @features["ghcr.io/devcontainers/features/node:1"] = {} if options[:node]
  @features["ghcr.io/devcontainers/features/docker-outside-of-docker:1"] = {} if options[:kamal]
  @features.merge!(database.feature) if database.feature
  @features
end