Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add new `search` command #6661
Adds a new command called
The addon discovery mode allows you to search for addons based on a given keyword. This is a great way to discovery addons within the community:
The code discovery mode allows you to search all addons that contain a given code snippet. This is great to find other addons that are using a method or hook that you would like to learn more about. As an example, hooks within your index.js file such as:
The last mode is code exploration. This allows you to see actual code diffs based on that code snippet. Note that we must supply the exact addon name via --addon.
Slightly unrelated note: It would be interesting to explore (if the cli-core team hasn't already) a way to install global commands like this one via addons without having to add code to ember-cli's code base.