BlindspotSoftware / dutctl

DUT Control is an abstraction layer for remote hardware access
BSD 2-Clause "Simplified" License
1 stars 1 forks source link

Flag Parsing in dutagent #77

Closed jensdrenhaus closed 1 month ago

jensdrenhaus commented 1 month ago

Plan:

addr := flag.String("a", "localhost:1337", "Server address and port in the format: address:port")
config := flag.String("c", "dutctl.yaml", "Path to DUT configuration file")
soft-dryrun := flag.Bool("validate", false, "Only validate the provided DUT configuration, not starting the service")
dryrun := flag.Bool("dry-run", false, "Only run the initialization phase of the modules, not start the (includes validation of the configuration)")