-
Notifications
You must be signed in to change notification settings - Fork 327
[improve]: dab add/update output around config file is noisy and confusing #3413
Copy link
Copy link
Open
Description
Current
The output logs are not clear or usable to the developer.
desired dab add
> dab add Jerry --source dbo.table --type table --permissions anonymous:*
Info: Added entity: {entity-name}
Note
Do not include the SUGGESTION output. That's just noise.
Debug experience:
--verbose
> dab add Jerry --source dbo.table --type table --permissions anonymous:*
dbug: Adding entity: {entity-name}
dbug: Microsoft.DataApiBuilder 2.0-rd
dbug: --config flag is (null)
dbug: DAB_ENVIRONMENT is (null)
dbug: Using c:\dev\CD\Demo\dab-config.json
dbug: Source is dbo.TableName
dbug: Type is view
dbug: Permissions are anonymous:*
Info: Added entity: {entity-name}
desired dab update
> dab update Jerry --permissions anonymous:*
Info: Updated entity: {entity-name}
Debug experience:
--verbose
> dab update Jerry --permissions anonymous:*
dbug: Updating entity: {entity-name}
dbug: Microsoft.DataApiBuilder 2.0-rd
dbug: --config flag is (null)
dbug: DAB_ENVIRONMENT is (null)
dbug: Using c:\dev\CD\Demo\dab-config.json
Info: Updated entity: {entity-name}
Reactions are currently unavailable