class AliasGeneratorManager def initialize @generator = AliasGenerator.new end def start Solara.logger.start_step("Generate terminal command aliases") common_aliases = [ "solara_dashboard='solara dashboard'", "solara_doctor='solara doctor'", "solara_status='solara status'", ] @generator.add_brand_aliases(BrandsManager.instance.brands_list) @generator.add_common_aliases(common_aliases) @generator.generate_shell_file @generator.save_aliases_to_json @generator.generate_readme SolaraSetup.new.run Solara.logger.end_step("Generate terminal command aliases") end def self.aliases_json path = FilePath.solara_aliases_json JSON.parse(File.read(path)) end end