diff --git a/README.md b/README.md index 87674bb..19009f3 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,14 @@ $ meshcli <args> <commands> If using BLE, don't forget to pair your device first (using `bluetoothctl` for instance on Linux) or meshcli won't be able to communicate. +## Configuration + +Configuration files are stored in ```$HOME/.config/meshcore``` + +If the directory exists, default ble address and history will be stored them. + +If there is an initialization script file called ```init```, it will be executed just before the commands provided on command line are executed (and after evaluation of the arguments). + ### Arguments Arguments mostly deals with ble connection @@ -45,6 +53,7 @@ Commands are given after arguments, they can be chained and some have shortcuts. General commands chat : enter the chat (interactive) mode chat_to <ct> : enter chat with contact to + script <file> : executes script stored in file infos : print informations about the node i card : export this node URI e ver : firmware version v diff --git a/pyproject.toml b/pyproject.toml index 9db188d..04075ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "meshcore-cli" -version = "0.6.8" +version = "0.6.9" authors = [ { name="Florent de Lamotte", email="florent@frizoncorrea.fr" }, ] diff --git a/src/meshcore_cli/meshcore_cli.py b/src/meshcore_cli/meshcore_cli.py index c1eedea..5a2267f 100644 --- a/src/meshcore_cli/meshcore_cli.py +++ b/src/meshcore_cli/meshcore_cli.py @@ -1087,6 +1087,7 @@ def command_help(): print(""" General commands chat : enter the chat (interactive) mode chat_to : enter chat with contact to + script : execute commands in filename infos : print informations about the node i card : export this node URI e ver : firmware version v