Dart Version Manager CLI implemented with Python and Typer
Usage:
$ dvm [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Commands:
build
: Manage "build" tagget
: Get project versionmajor
: Manage "major" versionminor
: Manage "minor" versionpatch
: Manage "patch"pre-release
: Manage "pre-release" tagset
: Set project version
Manage "build" tag
Usage:
$ dvm build [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
get
: Get "build" tagset
: Set "build" tagup
: Increase "build" tag's first detected number...
Get "build" tag
Usage:
$ dvm build get [OPTIONS] [FILENAME]
Arguments:
[FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Set "build" tag
Usage:
$ dvm build set [OPTIONS] BUILD [FILENAME]
Arguments:
BUILD
: "build" tag [required][FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Increase "build" tag's first detected number by 1
Usage:
$ dvm build up [OPTIONS] [FILENAME]
Arguments:
[FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Get project version
Usage:
$ dvm get [OPTIONS] [PUBSPEC_FILE]
Arguments:
[PUBSPEC_FILE]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Manage "major" version
Usage:
$ dvm major [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
get
: Get "major" versionset
: Set "major" versionup
: Increase "major" version by 1
Get "major" version
Usage:
$ dvm major get [OPTIONS] [FILENAME]
Arguments:
[FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Set "major" version
Usage:
$ dvm major set [OPTIONS] MAJOR [FILENAME]
Arguments:
MAJOR
: "major" version [required][FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Increase "major" version by 1
Usage:
$ dvm major up [OPTIONS] [FILENAME]
Arguments:
[FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--keep-pre-release / --no-keep-pre-release
: [default: False]--keep-build / --no-keep-build
: [default: False]--help
: Show this message and exit.
Manage "minor" version
Usage:
$ dvm minor [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
get
: Get "minor" versionset
: Set "minor" versionup
: Increase "minor" version by 1
Get "minor" version
Usage:
$ dvm minor get [OPTIONS] [FILENAME]
Arguments:
[FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Set "minor" version
Usage:
$ dvm minor set [OPTIONS] MINOR [FILENAME]
Arguments:
MINOR
: "minor" version [required][FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Increase "minor" version by 1
Usage:
$ dvm minor up [OPTIONS] [FILENAME]
Arguments:
[FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--keep-pre-release / --no-keep-pre-release
: [default: False]--keep-build / --no-keep-build
: [default: False]--help
: Show this message and exit.
Manage "patch"
Usage:
$ dvm patch [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
get
: Get "patch"set
: Set "patch"up
: Increase "patch" by 1
Get "patch"
Usage:
$ dvm patch get [OPTIONS] [FILENAME]
Arguments:
[FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Set "patch"
Usage:
$ dvm patch set [OPTIONS] PATCH [FILENAME]
Arguments:
PATCH
: "patch" number [required][FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Increase "patch" by 1
Usage:
$ dvm patch up [OPTIONS] [FILENAME]
Arguments:
[FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--keep-pre-release / --no-keep-pre-release
: [default: False]--keep-build / --no-keep-build
: [default: False]--help
: Show this message and exit.
Manage "pre-release" tag
Usage:
$ dvm pre-release [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
get
: Get "pre-release" tagset
: Set "pre-release" tagup
: Increase "pre-release" tag's first detected...
Get "pre-release" tag
Usage:
$ dvm pre-release get [OPTIONS] [FILENAME]
Arguments:
[FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Set "pre-release" tag
Usage:
$ dvm pre-release set [OPTIONS] PRE_RELEASE [FILENAME]
Arguments:
PRE_RELEASE
: "pre-release" tag [required][FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Increase "pre-release" tag's first detected number by 1
Usage:
$ dvm pre-release up [OPTIONS] [FILENAME]
Arguments:
[FILENAME]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.
Set project version
Usage:
$ dvm set [OPTIONS] VERSION [PUBSPEC_FILE]
Arguments:
VERSION
: The version to set in format "<major>.<minor>.<patch>-<pre-release>+<build>". The "major", "minor" and "patch" must be all integers. The "pre-release" and "build" are words splited by ".". [required][PUBSPEC_FILE]
: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]
Options:
--verbose / --no-verbose
: [default: True]--help
: Show this message and exit.