This commit is contained in:
Florent 2025-04-20 08:14:05 +02:00
parent 355491143f
commit 910603c978
3 changed files with 11 additions and 1 deletions

View file

@ -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

View file

@ -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" },
]

View file

@ -1087,6 +1087,7 @@ def command_help():
print(""" General commands
chat : enter the chat (interactive) mode
chat_to <ct> : enter chat with contact to
script <filename> : execute commands in filename
infos : print informations about the node i
card : export this node URI e
ver : firmware version v