#!/usr/bin/env ruby # frozen_string_literal: true require 'bundler/setup' require 'rancher/api' require 'rancher/api_discovery' ENV['RANCHER_URL'] = 'http://192.168.123.11:8080/v2-beta' require 'pry' crawler = Rancher::ApiDiscovery::Crawler.new crawler.run crawler.generate_code if ENV['GENERATE_CODE']