feature: 'rad cob' subcommand to list COB types
I’ve played around a bit with ‘rad cob’, and fuond it to be a bit of a hurdle to have to remember, or search for, the COB types, especially if those may vary from one repository to the other.
Would it be suitable to have a subcommand, possibly this, to list the COB types associated with a repository?
rad cob types --repo <rid>
Unfortunately, I’m a complete n00b when it comes to Rust, so it will take some time before I’ll be able to code something like this.
Seems like a reasonable thing to have :)
My proposed solution would be to use the repository to list all references using a refspec glob
refs/cobs/*, you can then striprefs/cobsand take the first element after the next/. This will be the type name.Tbh, you could also do this on the Unix command line :)
This was implemented, so I’m closing this.