# Path: cli_bdd/core/steps/base.py
# class StepBase(object):
#     type_ = None  # given, when, then
#     sentence = None
#     func_name = None
# 
#     def build_step_func(self):
#         raise NotImplementedError()
# 
#     def get_table(self):
#         raise NotImplementedError()
# 
#     def get_text(self):
#         raise NotImplementedError()
# 
#     def get_scenario_context(self):
#         raise NotImplementedError()


import os
from cli_bdd.core.steps.base import StepBase
    """
    type_ = 'given'
    sentence = (
        'I set the environment variable "(?P<variable>.*)" '
        'to "(?P<value>.*)"'
    )

    def step(self, variable, value):
        os.environ[variable] = value


class AppendToTheEnvironmentVariable(StepBase):
    """Appends a value to the environment variable.

    Examples:

    ```gherkin
    Given I append "world" to the environment variable "hello"
    ```
    """
    type_ = 'given'
    sentence = (
        'I append "(?P<value>.*)" '
        'to the environment variable "(?P<variable>.*)"'
    )

    def step(self, value, variable):
        _append_to_the_environment_variable(variable, value)



# Path: cli_bdd/core/steps/base.py
# class StepBase(object):
#     type_ = None  # given, when, then
#     sentence = None
#     func_name = None
# 
#     def build_step_func(self):
#         raise NotImplementedError()
# 
#     def get_table(self):
#         raise NotImplementedError()
# 
#     def get_text(self):
#         raise NotImplementedError()
# 
#     def get_scenario_context(self):
#         raise NotImplementedError()


# Path: cli_bdd/core/steps/environment.py
import os
from cli_bdd.core.steps.base import StepBase

    """
    type_ = 'given'
    sentence = (
        'I set the environment variable "(?P<variable>.*)" '
        'to "(?P<value>.*)"'
    )

    def step(self, variable, value):
        os.environ[variable] = value


class AppendToTheEnvironmentVariable(StepBase):
    """Appends a value to the environment variable.

    Examples:

    ```gherkin
    Given I append "world" to the environment variable "hello"
    ```
    """
    type_ = 'given'
    sentence = (
        'I append "(?P<value>.*)" '
        'to the environment variable "(?P<variable>.*)"'
    )

    def step(self, value, variable):
        _append_to_the_environment_variable(variable, value)



class PrependToTheEnvironmentVariable(StepBase):