aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.com>2022-01-31 15:54:48 +0200
committerkaotisk <kaotisk@arching-kaos.com>2022-01-31 15:54:48 +0200
commitf768939b36dd377bde182805bda24e9646620625 (patch)
tree631388fc5f591129716b303ccaa4bf75b93c2577
parent861f2b08841e5b8e96ad9f8dc0f85ab73c35b742 (diff)
downloadarching-kaos-tools-f768939b36dd377bde182805bda24e9646620625.tar.gz
arching-kaos-tools-f768939b36dd377bde182805bda24e9646620625.tar.bz2
arching-kaos-tools-f768939b36dd377bde182805bda24e9646620625.zip
Draft tool for configuration build/read/publish
-rwxr-xr-xbin/akconfig16
1 files changed, 16 insertions, 0 deletions
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