
getbtpcli script reports (see SAP Tech Bytes: btp CLI - installation for more on this utility):; getbtpcli --test
Version is 2.14.0config.json. There are sometimes other files that contain configuration too, and these, along with config.json, are stored by default in a directory called .btp/..btp/ directory was in a .cache/ directory in your home directory. So for me, while working in my local dev container, would have been, previously:# /home/user
; tree .cache/.btp
.cache/.btp
|-- autocomplete
| `-- scripts
| `-- sapbtpcli-autocomplete.plugin.sh
`-- config.json
config.json)..cache/, the default location for .btp/ is now .config/. So now it looks like this:# /home/user
; tree .config/.btp
.config/.btp
|-- autocomplete
| `-- scripts
| `-- sapbtpcli-autocomplete.plugin.sh
`-- config.json
.cache/ to .config/, but also the environment variable that you can set to tell the btp CLI where your configuration is, has changed too.SAPCP_CLIENTCONFIG. This reflected the name of the btp CLI at the time (sapcp).BTP_CLIENTCONFIG, which reflects the current name of the btp CLI of course.XDG_CONFIG_HOME location (i.e. $HOME/.config/) according to the name of the tool or utility, but as normal directories, rather than hidden ones (the period at the start of the .btp/ directory name means that it is to be treated as a hidden directory).$HOME/.config/ directory looks like:; ls .config
./ btp/ g/ htop/ procps/ tmuxinator/
../ configstore/ gcloud/ kitty/ ranger/ vim/
asciinema/ docker/ gh/ lf/ so/ weechat/
autocomplete/ exercism/ gitui/ newsboat/ stack/ yamllint/btp/ rather than .btp/. That's my personal choice, and I use the BTP_CLIENTCONFIG environment variable to tell the btp CLI that this is where I have my configuration:SAPCP_CLIENTCONFIG, don't worry - there's a grace period; the btp CLI will still honour the use of this environment variable, to give you time to change over to BTP_CLIENTCONFIG. But I'd encourage you to do that soon!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 45 | |
| 21 | |
| 18 | |
| 18 | |
| 18 | |
| 18 | |
| 17 | |
| 17 | |
| 16 | |
| 15 |