Sha256: bbc959325922b4df13f65b4e2b699ca4d7b739be1e0ef7bdf423674dfe531317
Contents?: true
Size: 709 Bytes
Versions: 2
Compression:
Stored size: 709 Bytes
Contents
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'", ] @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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solara-0.2.0 | solara/lib/core/aliases/alias_generator_manager.rb |
solara-0.1.0 | solara/lib/core/aliases/alias_generator_manager.rb |