CLI in Go.

Written by
reddit
Link to Post

https://www.reddit.com/r/golang/comments/aszh41/cli_in_go/ by 

I am trying to write a Command Line Interface in Go. I have did a lot of work so far but i am stuck at the phase where I literally don’t know what to do? How can I write a function that displays the input and output files like a flow tree. For example, If I have a parent file A and B,C,D are present in it, next I have G and E,F are present in it. Can anyone help me with this?

The structure will look like:

A

|____ C

|____D

G

Note: I want to print this structure in console.

submitted by /u/Deva14San
[link] [comments]

Article Tags:
· ·
Article Categories:
reddit

Comments are closed.