Skip to content

Commit

Permalink
Merge pull request #6976 from MahtraDR/setupaliases_scripts
Browse files Browse the repository at this point in the history
[scripts][setupaliases] Add aliases for forcing script and data updates
  • Loading branch information
MahtraDR authored Nov 11, 2024
2 parents 82dfcd1 + 47a218b commit fb8f5f3
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 fb8f5f3

Please sign in to comment.