diff --git a/justfile b/justfile new file mode 100644 index 0000000..3cfd9c5 --- /dev/null +++ b/justfile @@ -0,0 +1,15 @@ +@_default: + just --list + +# Commit the current save files +save: + @echo {{ YELLOW }} Saving..{{ NORMAL }} + jj commit -m "`date`" + @echo {{ GREEN }}󱣪 Saved{{ NORMAL }} + +# Fetch save files from the cloud +load: + @echo {{ YELLOW }}󰳻 Fetching save files..{{ NORMAL }} + jj git fetch + jj new main + @echo {{ YELLOW }}󱣪 Save files synced successfully{{ NORMAL }}