Skip to content

Commit

Permalink
remove docs based on PR comment
Browse files Browse the repository at this point in the history
Signed-off-by: Sathish Babu <[email protected]>
  • Loading branch information
sathish-progress committed Aug 28, 2024
1 parent 4450e29 commit f8c4398
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ If your transport is OS based and has the option to read a file you can set this
If your transport is OS based and has the option to run a command you can set this method. It is expected to return a `CommandResult` class here to be used upstream in InSpec. Currently the command resource is restricted to Unix and Windows platforms. Caching is enabled by default for this method.
You can optionally receive an options hash as well as the command string. This is intended for options that apply only to the current instance of running a command. For example, applying a timeout to this command execution.

**If your transport is OS based, do not force the platform family using `force_platform!`. The platform family will be detected dynamically based on the OS.

#### API Access Methods

When working with API's it's often helpful to create methods to return client information or API objects. These are then accessed upstream in InSpec. Here is an example of a API method you may have:
Expand Down

0 comments on commit f8c4398

Please sign in to comment.