hemictl

command
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2025 License: MIT Imports: 38 Imported by: 0

README

hemictl

The hemictl command is a generic tool to manipulate script commands to various daemons and their internal framework.

Usage

hemictl <command> <action> [parameters]

Components

  • command: Determines the daemon / module to be manipulated (e.g., tbcdb is used to manipulated a TBC database)
  • action: Specifies which command will be called (e.g., ping)
  • parameters: Key-value pair or JSON encoded parameters for the action (e.g., timestamp=1 or {"timestamp":1})

Environment Variables

  • HEMICTL_LOG_LEVEL: Sets the logging level (e.g., INFO, DEBUG)
  • HEMICTL_LEVELDB_HOME: The tbcdb leveldb home directory (default: ~/.tbcd)
  • HEMICTL_NETWORK: Bitcoin network (e.g., mainnet, testnet3, testnet4)

Detailed Overview

For a detailed overview of the available modules, use:

hemictl -help

For a detailed overview of a specific module's subcommands, use:

hemictl <command> -help

Error Handling

The tool provides detailed error messages with:

  • Timestamp of the error
  • Trace ID for debugging
  • Human-readable error message

Notes

  • Always ensure proper formatting in parameters
  • Use appropriate environment variables for production deployments
  • Check logs when troubleshooting failed commands

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL