CLI Tool for Sensors
Create a command-line interface tool that reads sensor values and prints formatted output. Supports options for temperature, humidity, and pressure.
Constraints
- Use argparse.
- Flags: --temp, --hum, --press.
- Print simulated values.
- Default prints all.
- Printable format JSON-like.
1import argparse2# TODO