---
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:149](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L149)

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:153](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L153)

All parsed CLI flags from the current command.
