
# CommandResponse


## Properties

Name | Type
------------ | -------------
`ok` | boolean
`type` | string
`success` | boolean
`exitCode` | number
`signal` | string
`stdout` | string
`stderr` | string
`stdoutTruncated` | boolean
`stderrTruncated` | boolean
`timedOut` | boolean
`cwd` | string
`startedAt` | Date
`finishedAt` | Date

## Example

```typescript
import type { CommandResponse } from '@asciidev/box-sdk'

// TODO: Update the object below with actual values
const example = {
  "ok": null,
  "type": null,
  "success": null,
  "exitCode": null,
  "signal": null,
  "stdout": null,
  "stderr": null,
  "stdoutTruncated": null,
  "stderrTruncated": null,
  "timedOut": null,
  "cwd": null,
  "startedAt": null,
  "finishedAt": null,
} satisfies CommandResponse

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as CommandResponse
console.log(exampleParsed)
```

[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
