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

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

# Interface: B2COperationLifecycleHookOptions

Defined in: [packages/b2c-tooling-sdk/src/cli/lifecycle.ts:150](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/36eea0d308f1312d1a446ec8813ed30b0bdba62c/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L150)

Options passed to the `b2c:operation-lifecycle` hook.

## Indexable

\[`key`: `string`\]: `unknown`

Index signature for oclif hook compatibility

## Properties

### flags?

> `optional` **flags**: `Record`\<`string`, `unknown`\>

Defined in: [packages/b2c-tooling-sdk/src/cli/lifecycle.ts:154](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/36eea0d308f1312d1a446ec8813ed30b0bdba62c/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L154)

All parsed CLI flags from the current command.
