postmanCli
1. Help
Command: bin/postmanCli --help
SYNOPSIS:
Push/Pull postman collections of all the configured repositories.
USAGE: postmanCli [OPTIONS] [ARGUMENTS]
USAGE: postmanCli [--help|-h] [--config]
[--bash-framework-config <bash-framework-config>] [--verbose|-v] [-vv] [-vvv]
[--log-level <log-level>] [--log-file <log-file>]
[--display-level <display-level>] [--no-color] [--theme <theme>] [--version]
[--quiet|-q] [--postman-model|-m <configFile>]
ARGUMENTS:
[command {single}] pull
Pull collections from Postman back to repositories.
push
Push repositories collections to Postman.
Possible values:
- pull: Pull
- push: Push
[ref {list} (optional)] List of postman collection's references to pull or push
or no argument to pull or push all the collections
GLOBAL OPTIONS:
--help, -h {single}
Displays this command help
--config {single}
Displays configuration
--bash-framework-config <bash-framework-config> {single}
Use alternate bash framework configuration.
--verbose, -v {single}
Info level verbose mode (alias of --display-level INFO)
-vv {single}
Debug level verbose mode (alias of --display-level DEBUG)
-vvv {single}
Trace level verbose mode (alias of --display-level TRACE)
--log-level <log-level> {single}
Set log level
Possible values:
- OFF
- ERR
- ERROR
- WARN
- WARNING
- INFO
- DEBUG
- TRACE
Default value: OFF
--log-file <log-file> {single}
Set log file
Default value: /logs/bash.log
--display-level <display-level> {single}
Set display level
Possible values:
- OFF
- ERR
- ERROR
- WARN
- WARNING
- INFO
- DEBUG
- TRACE
Default value: INFO
--no-color {single}
Produce monochrome output. alias of --theme noColor.
--theme <theme> {single}
Choose color theme - default-force means colors will be produced even if
command is piped.
Possible values:
- default
- default-force
- noColor
Default value: default
--version {single}
Print version information and quit.
--quiet, -q {single}
Quiet mode, doesn't display any output.
PUSH/PULL OPTIONS:
--postman-model, -m <configFile> {single}
postmanCli model file to use
Default value: <currentDir>/postmanCli.collections.json
DESCRIPTION:
EXIT CODES:
1: if commit does not exists
2: if ref is not convertible to commit oid
3: if commit is not included in given branch
VERSION: 3.0
AUTHOR: [François Chastanet](https://github.com/fchastanet)
SOURCE FILE: https://github.com/fchastanet/bash-tools-framework/tree/master/src/_binaries/Postman/postmanCli/postmanCli-binary.yaml
LICENSE: MIT License
Copyright (c) 2020-now François Chastanet