> ## Documentation Index
> Fetch the complete documentation index at: https://stars-components.js.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Function: getAndDelete()

> **getAndDelete**\<`Options`>(`command`): `ApplicationCommandRegistryEntry`

Defined in: [packages/http-framework-test-utils/src/commands.ts:10](https://github.com/wolfstar-project/stars-components/blob/5aefd164bc5fc41e5a35d3abf908c288163dd354/packages/http-framework-test-utils/src/commands.ts#L10)

## Type Parameters

### Options

`Options` *extends* [`PieceOptions`](/documentation/api/http-framework/interfaces/PieceOptions)

## Parameters

### command

*typeof* `Command`

## Returns

`ApplicationCommandRegistryEntry`
