File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8- ## [ 2.0.3] - 2023-04-14 :crown :
8+ ## [ 2.0.3] - 2023-04-15 :crown :
99- Adopts ` Rich ` , through ` rich-click ` for the project CLI.
1010- Renames the recently added ` secrets ` feature to ` settings ` .
1111- Adds support for configuring nested objects using "." separator.
Original file line number Diff line number Diff line change @@ -311,32 +311,6 @@ User settings (stored in the user's folder) can be handled using the provided `c
311311
312312These settings can be useful to store secrets and other values during local development, or in general when working with desktop applications.
313313
314- ---
315-
316- The CLI by default uses [ rich-click] ( https://github.com/ewels/rich-click ) , but
317- ` rich ` can be disabled using the environment variables ` POOR_CLI=1 ` or
318- ` NO_RICH=1 ` .
319-
320- ```
321- config settings
322- Usage: config settings [OPTIONS] COMMAND [ARGS]...
323-
324- Commands to handle user settings, stored in the user's folder.
325-
326- Options:
327- --help Show this message and exit.
328-
329- Commands:
330- del Delete a setting for a project, by key.
331- get Get a setting in a user file by key.
332- info Show information about settings for a project.
333- init Initialize user settings for the current folder.
334- list List all projects configured for settings stored in the user...
335- set Set a setting in a user file by key and value.
336- set-many Set many settings, read from a JSON file passed through stdin.
337- show Show the local settings for a project.
338- ```
339-
340314### Overriding nested values
341315
342316It is possible to override nested values by environment variables or
Original file line number Diff line number Diff line change 11import os
22
3- from config .common .cli import click
3+ import rich_click as click
4+
45from config .user .cli import settings
56
67
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44from pathlib import Path
55from typing import Optional
66
7+ import rich_click as click
8+
79from config .common import apply_key_value
8- from config .common .cli import click
910from config .user import UserSettings
1011
1112
You can’t perform that action at this time.
0 commit comments