Skip to content

Commit

Permalink
[scripts][setupaliases] Add aliases for forcing script and data updates
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtraDR committed Nov 11, 2024
1 parent 82dfcd1 commit 47a218b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setupaliases.lic
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ aliases_to_add = [
['t2noshut', "#{$clean_lich_char}eq $T2.noshutdown"],
['t2reload', "#{$clean_lich_char}eq $T2.reload_settings(\\?)"],

# Force checks all scripts in the repo for updates
['das', "#{$clean_lich_char}eq force_refresh_scripts"],
# Force updates one script from the repo
['ds', "#{$clean_lich_char}eq get_script('\\?')"],
# Force updates data files from the repo
['dad', "#{$clean_lich_char}eq setup_data"],

# find room, searches for a room description matching provided text
['fr', "#{$clean_lich_char}e echo Room.list.find{|room| room.description.find{|item| item =~ /\\?/i}}"],

Expand Down

0 comments on commit 47a218b

Please sign in to comment.