PyBitmessage icon indicating copy to clipboard operation
PyBitmessage copied to clipboard

CLI Command Line Arguments

Open Lvl4Sword opened this issue 8 years ago • 2 comments

  • [ ] Daemon command line argument
  • [ ] Portable Mode command line argument
  • [ ] BITMESSAGE_HOME environment variable

Daemon and Portable Mode should be command line arguments. This allows other programs to use the CLI much easier.

Lvl4Sword avatar Aug 02 '17 19:08 Lvl4Sword

Hi Lvl4Sword,

The "portable mode" option in the QT client is misleadingly represented as a checkbox in the UI but it doesn't map to a true/false setting anywhere in the program. What that checkbox does, behind the scenes, is an ACTION, not a setting: it relocates the configuration, keys and data files from the program directory (portable mode) to the user's home directory (non-portable mode), or the other way round.

How would a "portable mode" command-line argument work, and how would it be different from setting BITMESSAGE_HOME to the program directory?

f97ada87 avatar Sep 27 '17 13:09 f97ada87

true, one can set BITMESSAGE_HOME , does not even have to be an extra line in a bash script. Same effect.

sp2004c avatar Jan 26 '18 11:01 sp2004c