Commit Graph
10 Commits
Author SHA1 Message Date
Alexis Sellier f92308cf25 cli: Make key encryption optional
By leaving the passphrase prompt blank, users can create unencrypted
keys.
2023-07-20 10:40:15 +02:00
Alexis Sellier e593191ae2 cli: Automatically remove control socket
Instead of requiring that `--force` be used manually, we check to make
sure the node is not running, and if so, pass `--force` to the node
process.
2023-07-20 10:39:36 +02:00
Alexis Sellier 1a1e63d998 node: Implement sessions command
Returns session information through the control socket.

We also update `rad node status` to display sessions.
2023-07-04 00:26:31 +02:00
Alexis Sellier 613e3e5269 cli: Show logs after rad node start
When the node is started, we show the first few log lines.
2023-06-29 18:45:16 +02:00
Alexis Sellier 2e6c9827a9 cli: Show logs in rad node status 2023-06-29 18:01:49 +02:00
Alexis Sellier e32e28f8b4 cli: Implement rad node stop 2023-06-29 17:58:07 +02:00
Alexis Sellier 0d0d354d55 cli: Ask for passphrase upfront in node start 2023-06-29 15:02:08 +02:00
Alexis Sellier ba9c5997b7 cli: Add rad node logs sub-command
Prints the last `n` lines and follows the log.
2023-06-29 14:58:11 +02:00
xphoniex ac12a4deee cli: Implement rad node start with support for deamonizing
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-04-28 14:19:20 +02:00
Fintan Halpenny ed985f6fe0 cli: rad node
This adds a rad node subcommand to the CLI.

The subcommand aims to fulfill the following requirements:

- Checking the node status (rad node status)
- Connecting to the node's control socket (rad node connect)
- Printing out our routing table (rad node routing)
- Printing out our tracking policies (rad node tracking)

The following are yet to be implemented:

- Starting the node (rad node start)
- Stopping the node (rad node stop)

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-03-07 15:38:41 +01:00