Skip to content

Add environment variables #150

@flagarde

Description

@flagarde

Hi, First thanks a lot for this project. It simplify a lot the documenting process .

Is your feature request related to a problem? Please describe.
It seems not possible to document environment variables

Describe the solution you'd like
Would it be possible to add :env ?

Describe alternatives you've considered
For now i'm using this kind of tricks :

#  Environment variables:
#
#  CLICOLOR_FORCE to force ANSI escape code colors. https://bixense.com/clicolors/
#
#  CLICOLOR to disable ANSI escape code colors. https://bixense.com/clicolors/
#
#  CMMM_DEFAULT_COLOR to set default color (`[0;35m`).
#
#  CMMM_FATAL_ERROR_COLOR to set fatal error color (`[1;31m`).
#
#  CMMM_ERROR_COLOR to set error color (`[0;31m`).
#
#  CMMM_WARN_COLOR to set warn color (`[0;33m`).
#
#  CMMM_INFO_COLOR to set info color (`[0;32m`).
#

Additional context
Sometimes environment variables are used inside functions or macros. Even CMake uses them to override some variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions