versionah¶
Version management made easy¶
| Author: | James Rowe <jnrowe@gmail.com> |
|---|---|
| Date: | 2011-02-15 |
| Copyright: | GPL v3 |
| Manual section: | 1 |
| Manual group: | Developer |
SYNOPSIS¶
versionah [option] <command> <filename> [command options]
DESCRIPTION¶
versionah is a simple tool to help you, or more specifically me, easily
maintain version information for a project. Its entire aim is to make the act
of displaying or bumping a project’s version number a thoughtless task.
Options¶
| --version | show program’s version number and exit |
| -h, --help | show this help message and exit |
Commands¶
bump¶
Bump version in given file
| -d <format>, --display=<format> | |
display output in format, where format is one of the list of
{date,dict,dotted,hex,libtool,tuple,web} | |
| -t <mode>, --type=<mode> | |
| define the file type used for version file. Default is guessed based on file extension. | |
| --shtool | write shtool compatible output |
- <type>
- bump
typeby one, wheretypeis one of {major,minor,micro,patch}
set¶
Set version in given file
| -d <format>, --display=<format> | |
display output in format, where format is one of the list of
{date,dict,dotted,hex,libtool,tuple,web} | |
| -n <name>, --name=<name> | |
| project name to use in output | |
| -t <mode>, --type=<mode> | |
| define the file type used for version file. Default is guessed based on file extension. | |
- <version>
- set to a specific version
display¶
Display version in given file
| -d <format>, --display=<format> | |
display output in format, where format is one of the list of
{date,dict,dotted,hex,libtool,tuple,web} | |
BUGS¶
None known.
AUTHOR¶
Written by James Rowe
RESOURCES¶
| Git repository: | https://github.com/JNRowe/versionah/ |
|---|---|
| Issue tracker: | https://github.com/JNRowe/versionah/issues/ |
| Contributors: | https://github.com/JNRowe/versionah/contributors/ |
COPYING¶
Copyright © 2011-2014 James Rowe <jnrowe@gmail.com>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.