-
Notifications
You must be signed in to change notification settings - Fork 662
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
2,873 additions
and
895 deletions.
There are no files selected for viewing
150 changes: 150 additions & 0 deletions
150
docs/content/reference/cli-test/classes/SlackCLIProcess.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
# Class: SlackCLIProcess | ||
|
||
## Constructors | ||
|
||
### new SlackCLIProcess() | ||
|
||
```ts | ||
new SlackCLIProcess( | ||
command, | ||
globalOptions?, | ||
commandOptions?): SlackCLIProcess | ||
``` | ||
#### Parameters | ||
• **command**: `string` | ||
• **globalOptions?**: `SlackCLIGlobalOptions` | ||
• **commandOptions?**: `SlackCLICommandOptions` | ||
#### Returns | ||
[`SlackCLIProcess`](SlackCLIProcess.md) | ||
#### Defined in | ||
[cli/cli-process.ts:64](https://github.com/slackapi/node-slack-sdk/blob/main/packages/cli-test/src/cli/cli-process.ts#L64) | ||
## Properties | ||
### command | ||
```ts | ||
command: string; | ||
``` | ||
#### Description | ||
The CLI command to invoke | ||
#### Defined in | ||
[cli/cli-process.ts:52](https://github.com/slackapi/node-slack-sdk/blob/main/packages/cli-test/src/cli/cli-process.ts#L52) | ||
*** | ||
### commandOptions | ||
```ts | ||
commandOptions: undefined | SlackCLICommandOptions; | ||
``` | ||
#### Description | ||
The CLI command-specific options to pass to the command | ||
#### Defined in | ||
[cli/cli-process.ts:62](https://github.com/slackapi/node-slack-sdk/blob/main/packages/cli-test/src/cli/cli-process.ts#L62) | ||
*** | ||
### globalOptions | ||
```ts | ||
globalOptions: undefined | SlackCLIGlobalOptions; | ||
``` | ||
#### Description | ||
The global CLI options to pass to the command | ||
#### Defined in | ||
[cli/cli-process.ts:57](https://github.com/slackapi/node-slack-sdk/blob/main/packages/cli-test/src/cli/cli-process.ts#L57) | ||
## Methods | ||
### execAsync() | ||
```ts | ||
execAsync(shellOpts?): Promise<ShellProcess> | ||
``` | ||
#### Parameters | ||
• **shellOpts?**: `Partial`\<`SpawnOptionsWithoutStdio`\> | ||
#### Returns | ||
`Promise`\<`ShellProcess`\> | ||
#### Description | ||
Executes the command asynchronously, returning the process details once the process finishes executing | ||
#### Defined in | ||
[cli/cli-process.ts:76](https://github.com/slackapi/node-slack-sdk/blob/main/packages/cli-test/src/cli/cli-process.ts#L76) | ||
*** | ||
### execAsyncUntilOutputPresent() | ||
```ts | ||
execAsyncUntilOutputPresent(output, shellOpts?): Promise<ShellProcess> | ||
``` | ||
#### Parameters | ||
• **output**: `string` | ||
• **shellOpts?**: `Partial`\<`SpawnOptionsWithoutStdio`\> | ||
#### Returns | ||
`Promise`\<`ShellProcess`\> | ||
#### Description | ||
Executes the command asynchronously, returning the process details once the process finishes executing | ||
#### Defined in | ||
[cli/cli-process.ts:86](https://github.com/slackapi/node-slack-sdk/blob/main/packages/cli-test/src/cli/cli-process.ts#L86) | ||
*** | ||
### execSync() | ||
```ts | ||
execSync(shellOpts?): string | ||
``` | ||
#### Parameters | ||
• **shellOpts?**: `Partial`\<`SpawnOptionsWithoutStdio`\> | ||
#### Returns | ||
`string` | ||
#### Description | ||
Executes the command synchronously, returning the process standard output | ||
#### Defined in | ||
[cli/cli-process.ts:99](https://github.com/slackapi/node-slack-sdk/blob/main/packages/cli-test/src/cli/cli-process.ts#L99) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# @slack/cli-test | ||
|
||
## Classes | ||
|
||
- [SlackCLIProcess](classes/SlackCLIProcess.md) | ||
|
||
## Variables | ||
|
||
- [SlackCLI](variables/SlackCLI.md) | ||
- [SlackProduct](variables/SlackProduct.md) | ||
- [SlackTracerId](variables/SlackTracerId.md) | ||
- [shell](variables/shell.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// @ts-check | ||
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ | ||
const typedocSidebar = { items: [{"type":"category","label":"Classes","items":[{"type":"doc","id":"reference/cli-test/classes/SlackCLIProcess","label":"SlackCLIProcess"}]},{"type":"category","label":"Variables","items":[{"type":"doc","id":"reference/cli-test/variables/SlackCLI","label":"SlackCLI"},{"type":"doc","id":"reference/cli-test/variables/SlackProduct","label":"SlackProduct"},{"type":"doc","id":"reference/cli-test/variables/SlackTracerId","label":"SlackTracerId"},{"type":"doc","id":"reference/cli-test/variables/shell","label":"shell"}]}]}; | ||
module.exports = typedocSidebar.items; |
Oops, something went wrong.