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

Wrong documentation on how to activate the hooks #531

Closed
elvisdukaj opened this issue Apr 12, 2024 · 2 comments
Closed

Wrong documentation on how to activate the hooks #531

elvisdukaj opened this issue Apr 12, 2024 · 2 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@elvisdukaj
Copy link

To activate the hook the documentation says:

$ conan config set hooks.conan-center

But with conan 2+ I have an error:

$ conan config set hooks.conan-center                                            
usage: conan config [-h] [-v [V]] [-cc CORE_CONF] {home,install,install-pkg,list,show} ...
conan config: error: argument subcommand: invalid choice: 'set' (choose from 'home', 'install', 'install-pkg', 'list', 'show')

What is the right way to activate hooks?

@uilianries uilianries self-assigned this Apr 12, 2024
@uilianries uilianries added the duplicate This issue or pull request already exists label Apr 12, 2024
@uilianries
Copy link
Member

Hello @elvisdukaj! Your question looks duplicated to #506

Please, take a look there first. Regards!

@elvisdukaj
Copy link
Author

Thank you for the feedback! This issue can be closed than 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants