3usage() { printf "Usage: $0 URBIT_DESK_DIRECTORY\n" 1>&2; exit 1; }
12DESK_DIR="${DESK_DIR/#\~/$HOME}"
13PIER=$(dirname $DESK_DIR)
14DESK=$(basename $DESK_DIR)
16port=$(cat $PIER/.http.ports | grep loopback | tr -s ' ' '\n' | head -n 1)
20 --data "{\"source\":{\"dojo\":\"$2\"},\"sink\":{\"app\":\"$1\"}}" \
21 "http://localhost:$port" | xargs printf %s | sed 's/\\n/\n/g'
25lensa 'hood' "+hood/commit %$DESK"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list