Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dni
Copy link
Member

@dni dni commented Apr 19, 2024

got the idea from: #2447

arguments it should be explicity allowed with click and a description should be added like here:

(lnbits-py3.10) dni@arch:~/repos/lnbits/lnbits (dev) $ lnbits --help
130
Usage: lnbits [OPTIONS]

  Launched with `poetry run lnbits` at root level

Options:
  --port INTEGER              Port to listen on
  --host TEXT                 Host to run LNBits on
  --forwarded-allow-ips TEXT  Allowed proxy servers
  --ssl-keyfile TEXT          Path to SSL keyfile
  --ssl-certfile TEXT         Path to SSL certificate
  --help                      Show this message and exit.

got the idea from: #2447

arguments it should be explicity allowed with `click` and a description
should be added like here:
```
(lnbits-py3.10) dni@arch:~/repos/lnbits/lnbits (dev) $ lnbits --help
130
Usage: lnbits [OPTIONS]

  Launched with `poetry run lnbits` at root level

Options:
  --port INTEGER              Port to listen on
  --host TEXT                 Host to run LNBits on
  --forwarded-allow-ips TEXT  Allowed proxy servers
  --ssl-keyfile TEXT          Path to SSL keyfile
  --ssl-certfile TEXT         Path to SSL certificate
  --help                      Show this message and exit.
```
@dni dni force-pushed the remove-magic-args-parser branch from a986da1 to 06ee356 Compare April 19, 2024 06:30
@codecov
Copy link

codecov bot commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.74%. Comparing base (4f118c5) to head (06ee356).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2448      +/-   ##
==========================================
+ Coverage   60.69%   60.74%   +0.05%     
==========================================
  Files          65       65              
  Lines        9367     9360       -7     
==========================================
+ Hits         5685     5686       +1     
+ Misses       3682     3674       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dni dni merged commit e91096c into dev Apr 19, 2024
@dni dni deleted the remove-magic-args-parser branch April 19, 2024 11:23
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.

3 participants