---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [cli](../index.md) / DetailSection

# Interface: DetailSection

Defined in: [packages/b2c-tooling-sdk/src/cli/details.ts:45](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/cli/details.ts#L45)

Section under a sub-heading. Renders a blank line, the heading, a separator,
and then either label/value `fields` or a flat list of `lines`.

## Properties

### fields?

> `optional` **fields**: [`DetailField`](../type-aliases/DetailField.md)[]

Defined in: [packages/b2c-tooling-sdk/src/cli/details.ts:49](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/cli/details.ts#L49)

Label/value rows. Mutually exclusive with `lines`.

***

### lines?

> `optional` **lines**: `string`[]

Defined in: [packages/b2c-tooling-sdk/src/cli/details.ts:51](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/cli/details.ts#L51)

Flat list of single-column rows (e.g. role names). Mutually exclusive with `fields`.

***

### title

> **title**: `string`

Defined in: [packages/b2c-tooling-sdk/src/cli/details.ts:47](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/cli/details.ts#L47)

Section heading shown above the body
