ballerina-platform / ballerina-lang

The Ballerina Programming Language
https://ballerina.io/
Apache License 2.0
3.68k stars 751 forks source link

[Improvement]: Output a readable dependency tree for `bal graph` #42866

Open gayaldassanayake opened 5 months ago

gayaldassanayake commented 5 months ago

Description

The bal graph command outputs a digraph.

Describe your problem(s)

This is not directly readable from the CLI and the users have to use a digraph visualizer to view the dependency graph.

The related discord thread - https://discord.com/channels/957996897782616114/1248138627821600809

Describe your solution(s)

This can be improved by printing a readable dependency tree in the CLI. The mvn dependency tree does this.

image

The digraph can be printed if needed with a different flag.

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

swetha3456 commented 1 month ago

Hi, please assign this to me. I'd like to work on it.

gayaldassanayake commented 1 month ago

Hi @swetha3456

You can work on this issue.

To help you get started, here are some essential resources:

  1. Understanding Ballerina Platform: Learn what Ballerina is all about Ballerina Platform
  2. How to Contribute: Read our contributing guidelines to understand how you can contribute effectively: Contribution Guide
  3. Contributing to the Ballerina Library: If you're interested in contributing to our library, here are the guidelines: Library Contribution Guide
  4. Learn Ballerina: If you're new to Ballerina or want to enhance your skills, our official website offers a wealth of learning resources: Learn Ballerina
  5. Get Help and Connect: Ask technical questions on Stack Overflow with Ballerina tag and join our Discord community Ballerina Discord