Skip to content

feat: add user-settings, timezone, and currency commands (#81)#163

Open
zekelinAlex wants to merge 2 commits into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/user-settings-commands-issue-81
Open

feat: add user-settings, timezone, and currency commands (#81)#163
zekelinAlex wants to merge 2 commits into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/user-settings-commands-issue-81

Conversation

@zekelinAlex

Copy link
Copy Markdown
Contributor

Adds a txc env user-settings group to read and change the connected user's personalization settings (timezone, locale, short/long date format, time format, currency), plus txc env timezone list and txc env currency list to look up the values.

txc env user-settings get prints the lot:
image

txc env user-settings set --timezone "Prague"
--locale 1033 --short-date-format "M/d/yyyy"
--long-date-format "dddd, MMMM d, yyyy" --time-format "h:mm tt"
--currency CZK
timezone and currency take a name or a code, date formats take the format string or its code.

Closes #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add commands to view and change user settings (timezone, locale, date/time format)

1 participant