From 5be13d3f407bbcb9195fa7c9d0fe83499506c797 Mon Sep 17 00:00:00 2001 From: niro4-1 Date: Sat, 6 Jun 2026 01:26:42 +0300 Subject: [PATCH] Add interpolation documentation --- docs/interpolation.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/interpolation.md diff --git a/docs/interpolation.md b/docs/interpolation.md new file mode 100644 index 0000000..9114373 --- /dev/null +++ b/docs/interpolation.md @@ -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. \ No newline at end of file