Split CLI --repo option into owner & repo like config file #12

Closed
opened 2025-07-21 11:50:50 -07:00 by robert · 1 comment
Owner

The CLI was built to accept the "fully-qualified-repo-name" because the program could only work if it had both pieces. Since they were already going to be paired together, it made more sense to have one option that expects the finished string.

With the addition of a config file feature, it is possible to know one half but not the other. The config file already has these split out as separate options, but the CLI parser does not. That should be fixed so that either config source can specify just one component.

The CLI was built to accept the "fully-qualified-repo-name" because the program could only work if it had both pieces. Since they were already going to be paired together, it made more sense to have one option that expects the finished string. With the addition of a config file feature, it is possible to know one half but not the other. The config file already has these split out as separate options, but the CLI parser does not. That should be fixed so that either config source can specify just one component.
robert added the Kind/Enhancement label 2025-07-21 11:50:50 -07:00
robert added this to the Configuration & Heuristics project 2025-07-21 11:50:50 -07:00
robert moved this to To Do in Configuration & Heuristics on 2025-07-21 11:52:40 -07:00
robert moved this to Done in Configuration & Heuristics on 2025-07-21 14:23:10 -07:00
Author
Owner

Completed in 7c0966be30

Completed in 7c0966be3055bb68978178a96aa306e10b6ea160
Sign in to join this conversation.