Closed zong-zhe closed 4 months ago
Hey, I am Working on it. Thanks for bringing it up as PreTest.
@zong-zhe @Peefy Hey, Hope you both doing well. I want to know What's the deadline for pretest? Weather I need to create a pull request or submit it in the proposal? And also, Is there any Slack channel where we can communicate on issue?
Closed by #264
Feature Request
This is LFX PreTest for https://github.com/kcl-lang/kpm/issues/246, The functionality of
kcl mod group
is very similar to that ofgo mod group
, withkcl mod group
ultimately outputting a dependency graph of a KCL package.What you need to do
You need to understand how to construct a group or how to design each node in a group, and you don’t need to manually implement a graph and its node data structure, we recommend you try using a good third-party library related to graphs which will save your time.
Starting with the dependencies of the KCL third-party library recorded in
kcl.mod
, construct a graph structure using a traversal algorithm.After the construction of the graph is completed, output in the same format as the result of
go mod graph
.