Allow users to dump current settings, and also have a way to change the default settings

Bug #1862890 reported by Charles Hsu on 2020-02-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-swiftclient
Undecided
Unassigned

Bug Description

Swiftclient allows users to expose environment variables as the settings for swiftclient. But it lakes a way to dump current settings.

swift list --config-dump
swift donwload --config-dump
swift stat --config-dump

Another idea to change the default settings is swiftclient loads `~/.swiftcli/config` and apply these values as default.

$ cat ~/.swiftcli/config

[download]
object-threads=5
container-threads=2

[upload]
segment-size=104,857,600
object-threads=1
segment-threads=1
use-slo=true

Does it make sense?

This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers