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

Add version command #159

Merged
merged 4 commits into from
Nov 1, 2021
Merged

Conversation

orlandorode97
Copy link
Contributor

The goal for this PR is to add the version subcommand of celestia command to get more information about the build binary. The new subcommand closes #155.

version command in action

  • On Linux environment (Zorin OS 16)

Screen Shot 2021-10-28 at 16 21 53

renaynay
renaynay previously approved these changes Oct 29, 2021
Copy link
Member

@renaynay renaynay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much @OrlandoRomo ! This is awesome. The only question I have is whether we should keep the version command definition in its own file (version.go) or have a general utils.go file that stores all util/admin-like cmds. WDYT @Wondertan ?

@Wondertan
Copy link
Member

@renaynay, file per command is readable and a good practice IMO, so I would keep things the way they are in this PR.

Wondertan
Wondertan previously approved these changes Oct 29, 2021
Copy link
Member

@Wondertan Wondertan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome and you've implemented it really quick. Thank you!

Makefile Outdated Show resolved Hide resolved
cmd/celestia/version.go Outdated Show resolved Hide resolved
@renaynay renaynay merged commit d5bb053 into celestiaorg:main Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cmd: Version command
4 participants