Battorion CLI Reference

CLI Documentation

Complete command tree and syntax table

Welcome developers! Discover all Battorion CLI commands, their details, and usage tips for efficient workflows. This page provides a comprehensive command tree and explanation tables to help you manage your system, battery, audio, and more with confidence and ease.


Command Tree
                  battorion battery
                      data-organizer
                          group --input <file> --output <file>
                          json-analyzer
                          run-script --path <file>
                          extract-info --path <file> --format <json|table>
                      live-info
                          get --format <json|table>
                      report
                          analyze --path <html> --output <json>
                          extract-info --path <html>
                          extract-capacity --path <html>
                          get-table-after-header --path <html>
                          extract-last-capacity --path <html>
                          extract-last-runtime --path <html>
                      choose-action
                          create --type <analysis|report|export>
                      html-opener
                          open --path <html>
                          safe-load --path <html>
                          read-as-text --path <html>
                          clean-fix --path <html>
                          format-error --error <message>
                      time-estimator
                          get-text --input <data>
                          compute-weighted-average --data <file>
                          format-minutes --value <int>

                  battorion disk
                      alt-space
                          get-files-number --path <dir>
                          get-files-size --path <dir> --unit <MB|GB>
                          get-dir-number --path <dir>
                          get-dir-size --path <dir> --unit <MB|GB>
                          clean-temp --path <dir>
                          format-bytes --value <bytes>
                      space
                          get-files-number --path <dir>
                          get-files-size --path <dir> --unit <MB|GB>
                          get-dir-number --path <dir>
                          get-dir-size --path <dir> --unit <MB|GB>
                          clean-temp --path <dir>
                          set-under-tracking --path <dir>
                          make-decision --threshold <value>
                          print-result --path <dir>
                          parse-output --path <file>
                          exhume-number-files --path <dir>
                          exhume-size-files --path <dir>
                          parse-file-size --value <string>
                          parse-dir-size --value <string>
                          format-bytes --value <bytes>

                  battorion audio
                      output
                          set --device <name>
                          call-command --cmd <string>
                      device
                          check --match <name>
                          get-current
                          get-families
                          check-list --type <output|input>
                          get-full-name --device <id>
                      volume
                          get --device <name>
                          set --device <name> --value <0-100>
                          unmute --device <name>

                  battorion cmd
                      run --cmd "<command>" --timeout <sec>
                      get-os
                      battery-status
                      parse-level --value <string>
                      parse-status --value <string>

                  battorion runtime
                      estimate
                          get
                          first
                          second
                          third
                          run-parse
                          pb-first
                          pb-second
                          pb-third

                  battorion hardware
                      get-os-full
                      get-cpu --details
                      get-hwid
                      get-ram --details
                      get-disk --details
                      run-wmic --cmd <string>
                      validate

                  battorion sound
                      devices
                          find-default
                          extract-families
                          extract-keyword --keyword <string>
                          delete-output-file --path <file>
                      volume
                          get
                          return-level