cbmarcum / skeletal

A simple project creation tool that uses packaged templates
Apache License 2.0
17 stars 3 forks source link

need a version command to return the skeletal app version #7

Closed cbmarcum closed 1 year ago

cbmarcum commented 2 years ago

current: $ skeletal version There is no command 'version'

proposed: $ skeletal version Skeletal 0.12.0

cbmarcum commented 2 years ago

Some good ideas here

cbmarcum commented 1 year ago

use the getClass().getPackage().getImplementationVersion() method to extract it from the jar manifest and this works for the application and integration tests and doesn't require creating property files.