title: Command Line Parser Library .NET being able to retrieve version number
body: <p>I'm working with the NuGet Command Line Parser Library. I want to be able to set up some command line tools and I want the command(-v or --version) to return the current version of the application. I have another method set up to find the version and set it to a string so all I need now is that command line argument to set to that current version rather than just expecting something after the command. thanks for the help! </p>
  
  <pre><code>static string GetVersion() { 
      Assembly assembly = Assembly.GetExecutingAssembly();
      FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(assembly.Location);
      string currentVersion = fvi.FileVersion;
      return currentVersion;
  }
  
  class Options 
  {
      [Option('v', "version", HelpText = "Sets version to be run")]
      public string Version { get; set; }
  }
  </code></pre>
  
  <p>that's just the important parts.</p>