Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Add --version flag to klr, k, kpm #273

Closed
davidfowl opened this issue May 31, 2014 · 0 comments
Closed

Add --version flag to klr, k, kpm #273

davidfowl opened this issue May 31, 2014 · 0 comments

Comments

@davidfowl
Copy link
Member

It should print the version and just quit the program. We should print the assembly infomational version:

var assembly = typeof(Program).GetTypeInfo().Assembly;
var assemblyInformationalVersionAttribute = assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>();

// Print this version
assemblyInformationalVersionAttribute.InformationalVersion
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants