CHEF-3916 Add section on inspec license subcommand to online docs (#6583)

* Add section on inspec license, needs wordsmithing

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Edit CLI license content

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>

---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Ian Maddaus <ian.maddaus@progress.com>
This commit is contained in:
Sonu Saha 2023-08-09 22:34:54 +05:30 committed by GitHub
parent bf17aa78f4
commit cf39bab530
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -633,6 +633,32 @@ This subcommand has the following additional options:
</dl>
## license
Subcommands for interacting with the Chef licensing system.
### Syntax
`inspec license` supports two subcommands, `add` and `list`.
#### Add
Add a Chef license.
Not applicable for users running the local licensing service.
```bash
inspec license add
```
#### List
Run license diagnostics and output the details of your current Chef license configuration.
```bash
inspec license list
```
## run_context
Used to test run-context detection