cli icon indicating copy to clipboard operation
cli copied to clipboard

[Feature Request] Add support for XDG directories specification

Open itaranto opened this issue 10 months ago • 0 comments

Describe the issue

It would be nice to have support the for the XDG directory specification.

That means basically moving $HOME/.databricks/ to ${XDG_DATA_HOME:-$HOME/.local/share}/databricks/ and $HOME/.databrickscfg to ${XDG_CONFIG_HOME:-$HOME/.config}/databrickscfg for Linux and other Unix-like systems.

A less desirable alternative could be to allow the user to change these locations through environment variables, something like DATABRICKS_CLI_DATA and DATABRICKS_CLI_CONFIG.

Steps to reproduce the behavior

Please list the steps required to reproduce the issue, for example:

N/A

Expected Behavior

N/A

Actual Behavior

N/A

OS and CLI version

OS: Fedora 38 Databricks CLI version: v0.217.0

itaranto avatar Apr 08 '24 13:04 itaranto