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 subcommand to the CLI. Fixes #184 #254

Merged
merged 5 commits into from
Oct 13, 2020

Conversation

cvhariharan
Copy link
Contributor

@cvhariharan cvhariharan commented Oct 12, 2020

This PR adds a version subcommand which has a default value of development for both CLI and Genji. It automatically picks up the tag during CI.

Example output for genji version

Genji 1.0.0
Genji CLI 1.0.0

If tag is not set / empty,

Genji development
Genji CLI development

@codecov-io
Copy link

codecov-io commented Oct 12, 2020

Codecov Report

Merging #254 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #254   +/-   ##
=======================================
  Coverage   61.35%   61.35%           
=======================================
  Files          68       68           
  Lines        6345     6345           
=======================================
  Hits         3893     3893           
  Misses       1936     1936           
  Partials      516      516           
Impacted Files Coverage Δ
db.go 45.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca94a13...4950f61. Read the comment docs.

cmd/genji/main.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@asdine asdine left a comment

Choose a reason for hiding this comment

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

Thanks!

@asdine asdine merged commit f5afd65 into chaisql:master Oct 13, 2020
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.

4 participants