summaryrefslogtreecommitdiff
path: root/justfile
blob: 91ececee3f984752979efb4bcaaabdfc345e588e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
default:
  @just --list

os hostname='kansai':
  git add .
  rui os switch --hostname {{hostname}}

home user='ebisu':
  git add .
  rui home switch --user {{user}}

news user='ebisu':
  home-manager news --flake .#{{user}}

push message:
  git add . && git commit -m "{{message}}" && git push origin main

commit message:
  git add . && git commit -m "{{message}}"

restore:
  git restore --staged . && git restore .