# Command Overview

Here's an overview of all the commands available to the CFConfig CLI. There are sub-pages for each of these commands with additional details.

## Manage All Configs

### `cfconfig export`

Extracts all configuration from a server to a location of your choice.

### `cfconfig import`

Imports all configuration from a location of your choice into a server. Like `export`, but spelled different.

### `cfconfig transfer`

Moves all configuration from a location of your choice to another location of your choice. Like `import` and `export` but pronounced different.

### `cfconfig diff`

Shows a diff of every setting that's different between two servers or a server and a JSON file.

## Manage Individual Configs

### `cfconfig set`

Sets or overwrites a single setting on a server.

### `cfconfig show`

Views a single setting on a server.

## Manage Datasources

### `cfconfig datasource list`

List all datasources.

### `cfconfig datasource save`

Add or update a datasource by name

### `cfconfig datasource delete`

Remove a datasource by name.

## Manage CF Mappings

### `cfconfig cfmapping list`

List all CF mappings

### `cfconfig cfmapping save`

Add or update a CF mapping by virtual path.

### `cfconfig cfmapping delete`

Remove a CF mapping by virtual path.

## Manage Lucee/Railo Caches

### `cfconfig cache list`

List all caches in a Lucee/Railo server.

### `cfconfig cache save`

Add or update a cache by name.

### `cfconfig cache delete`

Remove a cache by name.

## Manage Mail Servers

### `cfconfig mailserver list`

List all mail servers on a server.

### `cfconfig mailserver save`

Add or update a mail server by host.

### `cfconfig mailserver delete`

Delete a mail server by host.

## Manage Custom Tag Paths

### `cfconfig customtagpath list`

List all Custom Tag paths

### `cfconfig customtagpath save`

Save a Custom Tag path

### `cfconfig customtagpath delete`

Delete a Custom Tag path

## Event Gateway Configuration

### `cfconfig eventgatewayconfig list`

List all Event Gateway Configurations

### `cfconfig eventgatewayconfig save`

Add or update an Event Gateway Configuration

### `cfconfig eventgatewayconfig delete`

Delete an Event Gateway Configuration

## Event Gateway Instances

### `cfconfig eventgatewayinstance list`

List all Event Gateway Instances

### `cfconfig eventgatewayinstance save`

Add or update an Event Gateway Instance

### `cfconfig eventgatewayinstance delete`

Delete an Event Gateway Instance

## Lucee Loggers

### `cfconfig logger list`

List all Lucee Loggers

### `cfconfig logger save`

Add or update a Lucee Logger

### `cfconfig logger delete`

Delete a Lucee Logger

## Scheduled Tasks

### `cfconfig task list`

List all Scheduled Tasks

### `cfconfig task save`

Add or update a Scheduled Task

### `cfconfig task delete`

Delete a Scheduled Task


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cfconfig.ortusbooks.com/using-the-cli/command-overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
