Skip to content

Commit 4e907f8

Browse files
committed
Deleted retired help attrs
1 parent 8f5b542 commit 4e907f8

1 file changed

Lines changed: 7 additions & 21 deletions

File tree

remove-json-keys/src/remove_json_keys/lib/settings.py

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,19 @@
66

77
controls = sn(
88
json_dir=sn(
9-
args=['-d', '--json-dir', '--json-folder'],
10-
type=str, default_val='_locales', help='Name of the folder containing JSON files (default: "_locales")'
11-
),
9+
args=['-d', '--json-dir', '--json-folder'], type=str, default_val='_locales'),
1210
keys=sn(
13-
args=['-k', '--keys', '--remove-keys', '--delete-keys'],
14-
type=str, parser='csv', help='Keys to remove (e.g. "app_NAME,author")'
15-
),
11+
args=['-k', '--keys', '--remove-keys', '--delete-keys'], type=str, parser='csv'),
1612
init=sn(
17-
args=['-i', '--init'],
18-
action='store_true', subcmd='true', help='Create .remove-json.config.json5 file to store default options'
19-
),
13+
args=['-i', '--init'], action='store_true', subcmd='true'),
2014
force=sn(
21-
args=['-f', '--force', '--overwrite'],
22-
action='store_true', help='Force overwrite existing config file when using init'
23-
),
15+
args=['-f', '--force', '--overwrite'], action='store_true'),
2416
no_wizard=sn(
25-
args=['-n', '-W', '--no-wizard', '--skip-wizard'],
26-
action='store_true', default=None, help='Skip interactive prompts during start-up'
27-
),
17+
args=['-n', '-W', '--no-wizard', '--skip-wizard'], action='store_true', default=None),
2818
help=sn(
29-
args=['-h', '--help'],
30-
action='help', help='Show help screen'
31-
),
19+
args=['-h', '--help'], action='help'),
3220
debug=sn(
33-
args=['--debug'],
34-
nargs='?', const=True, help='Show debug logs'
35-
)
21+
args=['--debug'], nargs='?', const=True)
3622
)
3723

3824
def load(cli, caller_file):

0 commit comments

Comments
 (0)