Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add extra args to git-clone #194

Closed
gilesknap opened this issue Mar 25, 2024 · 2 comments
Closed

add extra args to git-clone #194

gilesknap opened this issue Mar 25, 2024 · 2 comments

Comments

@gilesknap
Copy link
Member

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

@support_cli.command(
context_settings={"allow_extra_args": True, "ignore_unknown_options": True}
)

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

@gilesknap
Copy link
Member Author

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

@gilesknap
Copy link
Member Author

gilesknap commented Mar 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant