apostrophecms / apostrophe-cli

DEPRECATED. Use `@apostrophecms/cli` as the active ApostropheCMS CLI tool.
https://www.npmjs.com/package/@apostrophecms/cli
14 stars 5 forks source link

Fix --version command #21

Closed ghost closed 6 years ago

ghost commented 6 years ago

Removes hard coded version number and adds node-pkginfo to fetch version from package.json file.

pkginfo seems rather old, but has over 400k downloads per week and no known vulnerabilities.

20

boutell commented 6 years ago

Thanks!