---
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/2feab01f654eec77c6d702777ec2818472f131f1/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/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L154)

All parsed CLI flags from the current command.
