diff options
author | kaotisk <kaotisk@arching-kaos.com> | 2022-01-31 15:54:48 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.com> | 2022-01-31 15:54:48 +0200 |
commit | f768939b36dd377bde182805bda24e9646620625 (patch) | |
tree | 631388fc5f591129716b303ccaa4bf75b93c2577 | |
parent | 861f2b08841e5b8e96ad9f8dc0f85ab73c35b742 (diff) | |
download | arching-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-x | bin/akconfig | 16 |
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 |