.. include:: /Includes.rst.txt .. _fluidtypo3-vhs-condition-context-iscli: ======================= condition.context.isCli ======================= Condition: Is context CLI? ========================== A condition ViewHelper which renders the `then` child if current context being rendered is CLI. Examples ======== :: Hooray for CLI contexts! Hooray for CLI contexts! Maybe BE, maybe FE. Arguments ========= .. _condition.context.iscli_then: then ---- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Value to be returned if the condition if met. .. _condition.context.iscli_else: else ---- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Value to be returned if the condition if not met.