Dart Version Manager
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
dvm build
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...
dvm build get
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.
dvm build set
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.
dvm build up
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.
dvm get
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.
dvm major
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
dvm major get
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.
dvm major set
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.
dvm major up
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.
dvm minor
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
dvm minor get
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.
dvm minor set
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.
dvm minor up
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.
dvm patch
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
dvm patch get
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.
dvm patch set
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.
dvm patch up
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.
dvm pre-release
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...
dvm pre-release get
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.
dvm pre-release set
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.
dvm pre-release up
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.
dvm set
Set project version
Usage:
$ dvm set [OPTIONS] VERSION [PUBSPEC_FILE]
Arguments:
VERSION
: The version to set in format ". . - + ". 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.