CDS (SAP CAP)
#
WhatDisplay the active CDS CLI version.
#
Sample Configuration#
Properties- home_enabled:
boolean
- display the segment in the HOME folder or not - defaults tofalse
- fetch_version:
boolean
- fetch the CDS version - defaults totrue
- missing_command_text:
string
- text to display when the cds command is missing - defaults to empty - display_mode:
string
- determines when the segment is displayedalways
: the segment is always displayedfiles
: the segment is displayed when.cdsrc.json
,.cdsrc-private
or*.cds
file is presentcontext
: (default) the segment is displayed when conditions fromfiles
mode are fulfilled orpackage.json
file is present and@sap/cds
is independencies
section
info)#
Template (default template
#
Properties.Full
:string
- the full version.Major
:string
- major number.Minor
:string
- minor number.Patch
:string
- patch number.Error
:string
- error encountered when fetching the version string.HasDependency
:bool
- a flag if@sap/cds
was found inpackage.json