diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-01 05:45:13 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-01 05:45:13 +0200 |
commit | 4e8f09fcf92eb8de4e39d512ce36b9ed87fbde87 (patch) | |
tree | bab90d387f9a3b5114d3fe05eb430a867005ad0f | |
parent | 1b883da0cafceeb82883985486752d98299ece0e (diff) | |
download | arching-kaos-tools-4e8f09fcf92eb8de4e39d512ce36b9ed87fbde87.tar.gz arching-kaos-tools-4e8f09fcf92eb8de4e39d512ce36b9ed87fbde87.tar.bz2 arching-kaos-tools-4e8f09fcf92eb8de4e39d512ce36b9ed87fbde87.zip |
ak-node-info for cli
-rwxr-xr-x | bin/ak-cli | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -59,6 +59,9 @@ help_all(){ help_follow new_line + help_node_info + new_line + printf ' modules Various modules' help_modules new_line @@ -92,6 +95,28 @@ help_all(){ help_uncatecorized } +help_node_info(){ + ak-node-info +} + +_node_info(){ + if [ ! -z "$1" ] + then + case "$1" in + ipfs) + ak-node-info ipfs + ;; + ipns) + ak-node-info ipns + ;; + *) + help_node_info + ;; + esac + else + help_node_info + fi +} help_config(){ cat /home/kaotisk/projects/arching-kaos-tools/txts/manuals/config_subcommands } @@ -425,6 +450,10 @@ else _config "$2" exit_program 0 "$1 command finished"; ;; + node) + _node_info "$2" + exit_program 0 "$1 command finished"; + ;; log) _log "$2" "$3" "$4" "$5" exit_program 0 "$1 command finished"; |