From f768939b36dd377bde182805bda24e9646620625 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 31 Jan 2022 15:54:48 +0200 Subject: Draft tool for configuration build/read/publish --- bin/akconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 bin/akconfig (limited to 'bin/akconfig') diff --git a/bin/akconfig b/bin/akconfig new file mode 100755 index 0000000..31e2c9d --- /dev/null +++ b/bin/akconfig @@ -0,0 +1,16 @@ +#!/bin/bash +title(){ + echo "Arching Kaos Configuration Tool" +} +usage(){ + #title + echo ' +{ + "profile":'$(profile index | json_pp)', + "genesis":"'$(cat $HOME/.arching-kaos/config/zgenesis)'", + "zchain":"'$(cat $HOME/.arching-kaos/config/zchain)'" +}'; + exit 0 +} + +usage -- cgit v1.2.3