Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pretty print the command output. #62

Open
mohammed786 opened this issue Sep 23, 2021 · 7 comments
Open

Pretty print the command output. #62

mohammed786 opened this issue Sep 23, 2021 · 7 comments
Assignees
Labels
good first issue Good for newcomers Hacktoberfest For Hacktoberfest help wanted Extra attention is needed

Comments

@mohammed786
Copy link
Collaborator

Currently, the output of certain commands is just a normal command print in a b/w colour.

Need to make it prettier by adding some colour or proper format to it. You can use any good third party library to support this.

Thanks

@mohammed786 mohammed786 added good first issue Good for newcomers help wanted Extra attention is needed Hacktoberfest For Hacktoberfest labels Sep 23, 2021
@gagandeepp
Copy link

Interested ,please assign this

@whitebumblebee
Copy link

Since @gagandeepp is already assigned to another one task, Can I tackle this one? @mohammed786

@mohammed786
Copy link
Collaborator Author

Sure @crook-nosed, Assigned to you.

@mohammed786
Copy link
Collaborator Author

Hi @crook-nosed Any update on this issue?

@whitebumblebee
Copy link

whitebumblebee commented Oct 5, 2021

Hi @crook-nosed Any update on this issue?

Hi, @mohammed786 I have cloned the pr and built it from the source. I am playing around with it a bit. I am sorry but I am new to go but I am learning by looking at the source code. I think prettifying(adding colours and proper format) should be ready by this weekend. Also, the manual is very helpful!

@mohammed786
Copy link
Collaborator Author

Hi @crook-nosed You can find the manual for the LoginRadius CLI here.

@whitebumblebee
Copy link

Hi, @mohammed786 I have tried using https://github.com/fatih/color for colourizing the commands. But I am not able to make it useful for every "type" of command. For example, lets say I want to add colour to the --help for every command from top-level to subcommands level. But I am not able to do that. Any idea, how I could achieve that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Hacktoberfest For Hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants