xelis-project / xelis-blockchain

A private blockDAG with Homomorphic Encryption and Smart Contracts
373 stars 89 forks source link

Non-interactive and no colors #50

Closed duggavo closed 4 months ago

duggavo commented 6 months ago

for systemd services, would be useful to have a flag similar to monerod's --non-interactive, for both daemon and wallet, which prevents readline "prompting".

Also --no-colors could be useful for systems that do not support color codes (journalctl logs, for example)

Slixe commented 4 months ago

They got both implemented in #63

      --disable-interactive-mode
          Disable terminal interactive mode You will not be able to write CLI commands in it or to have an updated prompt

      --disable-log-color
          Disable the usage of colors in log