Skip to content

Instantly share code, notes, and snippets.

@QuestionDriven
QuestionDriven / generate_json.sh
Last active March 8, 2024 17:45
Generate Karabiner-Elements' json file for import from Goku edn file
#! /usr/bin/env bash
set -e -u -o pipefail
#Usage
usage="Usage: ./generate_json.sh [options] <edn_config_file> <rule_title>"
show_help() {
cat << EOF
$usage