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 [OPTIONS] COMMAND [ARGS]…
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.
Commands¶
versionah bump¶
Bump version in existing file.
versionah bump [OPTIONS] FILENAME... [major|minor|micro|patch]
Options
-
-d
,
--display
<display_format>
¶ Display format for output.
- Options
date|dict|dotted|hex|libtool|tuple|web
-
-t
,
--type
<file_type>
¶ Define the file type used for version file.
- Options
c|go|h|json|lua|m4|moon|nim|py|rb|text
-
--shtool
,
--no-shtool
¶
Write shtool compatible output.
Arguments
-
FILENAME
¶
Required argument(s)
-
BUMP
¶
Required argument
versionah display¶
Display version in given file.
versionah display [OPTIONS] FILENAME...
Options
-
-d
,
--display
<display_format>
¶ Display format for output.
- Options
date|dict|dotted|hex|libtool|tuple|web
Arguments
-
FILENAME
¶
Required argument(s)
versionah set¶
Set version in given file.
versionah set [OPTIONS] FILENAME... VERSION_STR
Options
-
-d
,
--display
<display_format>
¶ Display format for output.
- Options
date|dict|dotted|hex|libtool|tuple|web
-
-t
,
--type
<file_type>
¶ Define the file type used for version file.
- Options
c|go|h|json|lua|m4|moon|nim|py|rb|text
-
--shtool
,
--no-shtool
¶
Write shtool compatible output.
-
-n
,
--name
<name>
¶ Package name for version(default from $PWD).
Arguments
-
FILENAME
¶
Required argument(s)
-
VERSION_STR
¶
Required argument
BUGS¶
None known.
AUTHOR¶
Written by James Rowe
RESOURCES¶
- Documentation
- Git repository
- Issue tracker
- Contributors
COPYING¶
Copyright © 2011-2018 James Rowe <jnrowe@gmail.com>
versionah 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.
versionah is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with versionah. If not, see <http://www.gnu.org/licenses/>.