Discovery
Using the Discover command
All the models that are created are also discoverable. You can use this command to know about the models, entities, features and sources in your data warehouse.
$ pb discover
Here are a few cases on how you can use the discover command:
# Discover all the models
$ pb discover models
# Discover a model with specific name
$ pb discover -m 'RUDDER_WEB_EVENTS.PROD_SCHEMA.feature_profile'
# Discover all features having 'max' in their name
$ pb discover features -u %max%
# Discover all the entities for a specific profile
$ pb discover entities -c siteconfig.yaml
# Discover all materials for target dev
$ pb discover materials -t dev
# Export output of discover command to a CSV file in output folder
$ pb discover -f my-custom-name.csv
# Export all sources to a CSV file in output folder
$ pb discover sources -f my-custom-name.csv
For detailed usage on how to use the discover command, check out CLI Reference.