Skip to content

Migrated build logic to cmd/info.go #1146

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

Conversation

0xJepsen
Copy link

closes #347

Would it make sense to turn it into an info flag?
Or would it make more sense to add as a command ininit.go

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.

Hi @0xJepsen thank you for your contribution!

Two things:

  • While the issue is a bit unclear about this (and it's a bit old, so sorry for that!), there is no compelling reason to have 2 different commands for outputting version info + build info, so let's keep them together under versionCmd and remove the buildInfo command.
  • Let's still move the version command out of the cmd/celestia into the cmd package

@renaynay
Copy link
Member

Also, the version command should still be available on the root command, not as a subcommand of light | full | bridge please 🙏🏻

@renaynay renaynay self-assigned this Oct 25, 2022
@Wondertan
Copy link
Member

Closing as stale

@Wondertan Wondertan closed this Apr 16, 2023
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: Move build info that is currently stored next to version command into separate file
3 participants