hasura / hasura/graphql-engine

ddn connector-link update --add-all-resources: Add verbose flag

Open
#10,447 0 comments 0 reactions 0 assignees View on GitHub
c/v3-cli ddnbugbounty-2024 k/enhancement
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Component

### Is your proposal related to a problem? ### Describe the solution you'd like

ddn connector-link update my_pg \
--subgraph my_subgraph/subgraph.yaml \
--env-file my_subgraph/.env.my_subgraph.local \
--add-all-resources

if let's say I have 1000 models, it will populate my CLI with all those messages. In fact it should just return with a summary - X models added, Y commands added and Z relationships. If the user wants to see details they can add --verbose flag to the command

image

Contributor guide

Open the contributing guide

Research direction

Locate the `ddn connector-link update` CLI entry point and reproduce the `--add-all-resources` behavior with a large set of models. Make the default output a summary of models, commands, and relationships, while `--verbose` retains the detailed output; verify both command modes with the CLI's existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.