epics-containers / ibek

IOC Builder for EPICS and Kubernetes
https://epics-containers.github.io/ibek
Apache License 2.0
10 stars 4 forks source link

add extra args to git-clone #194

Closed gilesknap closed 3 months ago

gilesknap commented 3 months ago

The command ibek support git-clone should support extra args to pass to git so you can do things like --recursive.

This can be achieved in the same way as ibek ioc compile does it here https://github.com/epics-containers/ibek/blob/55417cf12fe86c2e7c4b8c52a402bb4d214abe98/src/ibek/support_cmds/commands.py#L252-L254

ALSO: review all commands to see other places where extra args may be of use and are not currently implemented.

gilesknap commented 3 months ago

@marcelldls a good first issue for you to look at when you want to look at ibek.

gilesknap commented 3 months ago

doh! this this function already supports this:

ibek support git-clone --org https://github.com/epics-containers/ ioc-adsimdetector 2024.3.4b1 --recursive

It passes any extra args to git - but the help fails to mention that - fixing the help