Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions docs/interpolation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Interpolation Documentation

This document provides information on how interpolation works within the CLI tool.

## Overview

Interpolation refers to the process of replacing variables within a string with their corresponding values.

## Usage

To use interpolation, follow these steps:

1. Define variables in your configuration file.
2. Use the variables within your strings by enclosing them in curly braces `{}`.
3. The CLI tool will replace the variables with their values when the string is processed.

## Example

```python
# Configuration file
variable = "example_value"

# Usage in a string
message = "The value is {variable}"
```

When processed, the message will be:

```
The value is example_value
```

## Best Practices

- Keep variable names descriptive and meaningful.
- Avoid using interpolation in complex expressions.
- Test your configurations to ensure interpolation works as expected.

For more information, refer to the official documentation.