Skip to content

Commit

Permalink
Solara
Browse files Browse the repository at this point in the history
  • Loading branch information
IdeaS0ft committed Sep 14, 2024
1 parent 9506545 commit 72cdad3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions solara/lib/core/aliases/alias_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def initialize

def add_brand_aliases(brands)
alias_templates = [
"solara_export_{brand_key}='solara export --brand_keys {brand_key}'",
"solara_offboard_{brand_key}='solara offboard -k {brand_key}'",
"solara_switch_{brand_key}='solara switch -k {brand_key}'",
"solara_doctor_{brand_key}='solara doctor -k {brand_key}'",
Expand Down
3 changes: 2 additions & 1 deletion solara/lib/core/aliases/alias_generator_manager.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
class AliasGeneratorManager
def initialize
@generator = AliasGenerator.new()
@generator = AliasGenerator.new
end

def start
Solara.logger.start_step("Generate terminal command aliases")
common_aliases = [
"solara_status='solara status'",
"solara_dashboard='solara dashboard'",
"solara_doctor='solara doctor'",
]
Expand Down

0 comments on commit 72cdad3

Please sign in to comment.