@@ -4,13 +4,13 @@ This project provides a command line interface to manage and install Pact plugin
44
55## Command line interface
66
7- Running ` pact-plugin-cli ` without any options displays the standard help.
7+ Running ` pact-plugin ` without any options displays the standard help.
88
99``` console,ignore
10- $ pact-plugin-cli
10+ $ pact-plugin
1111CLI utility for Pact plugins
1212
13- Usage: pact-plugin-cli [OPTIONS] <COMMAND>
13+ Usage: pact-plugin [OPTIONS] <COMMAND>
1414
1515Commands:
1616 list List installed plugins
@@ -35,7 +35,7 @@ Options:
3535The ` env ` command will display any environment configuration that is being used.
3636
3737``` console,ignore
38- $ pact-plugin-cli env
38+ $ pact-plugin env
3939┌──────────────────┬─────────────────────┬────────────────────────────┐
4040│ Configuration ┆ Source ┆ Value │
4141╞══════════════════╪═════════════════════╪════════════════════════════╡
@@ -49,7 +49,7 @@ $ pact-plugin-cli env
4949Running the ` list ` command will list installed plugins.
5050
5151``` console,ignore
52- $ pact-plugin-cli list
52+ $ pact-plugin list
5353┌──────────┬─────────┬───────────────────┬───────────────────────────────────────────┬─────────┐
5454│ Name ┆ Version ┆ Interface Version ┆ Directory ┆ Status │
5555╞══════════╪═════════╪═══════════════════╪═══════════════════════════════════════════╪═════════╡
@@ -64,10 +64,10 @@ $ pact-plugin-cli list
6464The ` disable ` command will disable a version of a plugin, while the ` enable ` command will enable it again.
6565
6666``` console
67- $ pact-plugin-cli enable --help
67+ $ pact-plugin enable --help
6868Enable a plugin version
6969
70- Usage: pact-plugin-cli enable <NAME> [VERSION]
70+ Usage: pact-plugin enable <NAME> [VERSION]
7171
7272Arguments:
7373 <NAME> Plugin name
@@ -86,10 +86,10 @@ A particular version of a plugin can be removed with the `remove` command. It re
8686If there is only a single version, the version value can be omitted.
8787
8888``` console
89- $ pact-plugin-cli remove --help
89+ $ pact-plugin remove --help
9090Remove a plugin
9191
92- Usage: pact-plugin-cli remove [OPTIONS] <NAME> [VERSION]
92+ Usage: pact-plugin remove [OPTIONS] <NAME> [VERSION]
9393
9494Arguments:
9595 <NAME> Plugin name
@@ -104,7 +104,7 @@ Options:
104104This will prompt to confirm the removal of the plugin, but that can be overridden with the ` -y,-yes ` option.
105105
106106``` console,ignore
107- $ pact-plugin-cli -y remove csv
107+ $ pact-plugin -y remove csv
108108Removed plugin with name 'csv' and version '0.0.1'
109109```
110110
@@ -115,12 +115,12 @@ operating system and architecture required. If there are SHA256 digests of the d
115115against the downloaded one.
116116
117117``` console
118- $ pact-plugin-cli install --help
118+ $ pact-plugin install --help
119119Install a plugin
120120
121121A plugin can be either installed from a URL, or for a known plugin, by name (and optionally version).
122122
123- Usage: pact-plugin-cli install [OPTIONS] <SOURCE>
123+ Usage: pact-plugin install [OPTIONS] <SOURCE>
124124
125125Arguments:
126126 <SOURCE>
@@ -163,7 +163,7 @@ To skip installing the plugin if the version is already installed, use the `-s,
163163Example of installing the CSV plugin:
164164
165165``` console,ignore
166- $ pact-plugin-cli -y install https://github.com/pact-foundation/pact-plugins/releases/tag/csv-plugin-0.0.1
166+ $ pact-plugin -y install https://github.com/pact-foundation/pact-plugins/releases/tag/csv-plugin-0.0.1
167167Installing plugin csv version 0.0.1
168168Downloaded https://github.com/pact-foundation/pact-plugins/releases/download/csv-plugin-0.0.1/pact-csv-plugin-linux-x86_64.gz to /home/ronald/.pact/plugins/csv-0.0.1/pact-csv-plugin-linux-x86_64.gz
169169 [00:00:03] [#######################################################################################################################################################################] 3.43MiB/3.43MiB (973.64KiB/s, 0s)
@@ -179,7 +179,7 @@ The CLI executable can be downloaded from the GitHub release page (i.e., https:/
179179There will be a file for each major OS and architecture. It just needs to be unzipped (using gunzip) and made executable on Unix.
180180
181181``` console,ignore
182- ❯ wget https://github.com/pact-foundation/pact-plugins/releases/download/pact-plugin-cli-v0.0.0/pact-plugin-cli- linux-x86_64.gz
182+ ❯ wget https://github.com/pact-foundation/pact-plugins/releases/download/pact-plugin-cli-v0.0.0/pact-plugin-linux-x86_64.gz
183183--2022-06-03 13:45:17-- https://github.com/pact-foundation/pact-plugins/releases/download/pact-plugin-cli-v0.0.0/pact-plugin-cli-linux-x86_64.gz
184184Resolving github.com (github.com)... 52.64.108.95
185185Connecting to github.com (github.com)|52.64.108.95|:443... connected.
0 commit comments