Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Recommend.Games
Board Game Scraper
Commits
c3deea5d
Verified
Commit
c3deea5d
authored
Oct 22, 2020
by
Markus Shepherd
🙈
Browse files
added doc strings
parent
dee384ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
board_game_scraper/version_env.py
board_game_scraper/version_env.py
+7
-5
No files found.
board_game_scraper/version_env.py
View file @
c3deea5d
# -*- coding: utf-8 -*-
"""
TODO
."""
"""
Read library __version__ and write to .env
."""
import
argparse
import
logging
...
...
@@ -16,18 +16,20 @@ LOGGER = logging.getLogger(__name__)
def
_parse_args
():
parser
=
argparse
.
ArgumentParser
(
description
=
"TODO."
)
parser
=
argparse
.
ArgumentParser
(
description
=
"Read library __version__ and write to .env."
)
parser
.
add_argument
(
"--target"
,
"-t"
,
default
=
".env"
,
help
=
"
TODO
"
,
help
=
"
target file
"
,
)
parser
.
add_argument
(
"--variable"
,
"-V"
,
default
=
"LIBRARY_VERSION"
,
help
=
"
TODO
"
,
help
=
"
variable name
"
,
)
parser
.
add_argument
(
"--verbose"
,
...
...
@@ -41,7 +43,7 @@ def _parse_args():
def
main
():
"""
TODO
."""
"""
Read library __version__ and write to .env
."""
args
=
_parse_args
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment