@thefirstspine/certificate-authority 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -57,16 +57,13 @@ In order to use the CLI, the dependency should be installed globally.
57
57
 
58
58
  Generates files to be validated in the services.
59
59
 
60
- Example: `--mode=pair --key=private.key --certificate=public.cert --force`
60
+ Example: `-m=pair -k=private.key -c=public.cert`
61
61
 
62
62
  **Options:**
63
63
 
64
- - `--help` Displays help.
65
- - `--version` Displays the version number.
66
- - `--mode=` Defines what's to be generated. `"ask"` or `"pair"`. If not provided, a prompt will be displayed.
67
- - `--key=` The private key path. If not provided, a prompt will be displayed. If the file already exists, a confirmation will be asked.
68
- - `--certificate=` The public certificate path. If not provided, a prompt will be displayed. If the file already exists, a confirmation will be asked.
69
- - `--force` Once provided, the confirmation prompt will be ignored.
64
+ - `-m` Defines what's to be generated. `"ask"` or `"pair"`. If not provided, a prompt will be displayed.
65
+ - `-k` The private key path. If not provided, a prompt will be displayed. If the file already exists, a confirmation will be asked.
66
+ - `-c` The public certificate path. If not provided, a prompt will be displayed. If the file already exists, a confirmation will be asked.
70
67
 
71
68
  ## How to use
72
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thefirstspine/certificate-authority",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Self-signed certificate authority to automate & check secure layer for protected endpoints.",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",