:navigation-title: condition.context.isCli .. include:: /Includes.rst.txt .. _fluidtypo3-vhs-condition-context-iscli: ================================================================== condition.context.isCli ViewHelper `` ================================================================== 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. .. _fluidtypo3-vhs-condition-context-iscli_arguments: 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.