Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Data Flow
Data Loading
Wellbore DDMS Data Loader
Commits
9ae3c70b
Commit
9ae3c70b
authored
Nov 09, 2021
by
Niall McDaid
Browse files
Extra info to 'help' lines
parent
cd2820ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lasloader/lascli.py
View file @
9ae3c70b
...
@@ -71,7 +71,7 @@ class LasCommandLoader(CLICommandsLoader):
...
@@ -71,7 +71,7 @@ class LasCommandLoader(CLICommandsLoader):
with
ArgumentsContext
(
self
,
''
)
as
arg_context
:
with
ArgumentsContext
(
self
,
''
)
as
arg_context
:
arg_context
.
argument
(
'config_path'
,
type
=
str
,
options_list
=
(
'-c'
,
'--config_path'
),
arg_context
.
argument
(
'config_path'
,
type
=
str
,
options_list
=
(
'-c'
,
'--config_path'
),
help
=
'The path and filename of the configuration file.'
)
help
=
'The path and filename of the configuration file.
Defaults to
\'
CONFIGPATH
\'
environment variable if not set.
'
)
# 'fileload'
# 'fileload'
with
ArgumentsContext
(
self
,
'fileload'
)
as
arg_context
:
with
ArgumentsContext
(
self
,
'fileload'
)
as
arg_context
:
...
@@ -153,7 +153,7 @@ class LasCommandLoader(CLICommandsLoader):
...
@@ -153,7 +153,7 @@ class LasCommandLoader(CLICommandsLoader):
def
_register_token_argument
(
self
,
arg_context
):
def
_register_token_argument
(
self
,
arg_context
):
arg_context
.
argument
(
'token'
,
type
=
str
,
options_list
=
(
'-t'
,
'--token'
),
arg_context
.
argument
(
'token'
,
type
=
str
,
options_list
=
(
'-t'
,
'--token'
),
help
=
'A valid bearer token used to authenticate with the OSDU instance.'
)
help
=
'A valid bearer token used to authenticate with the OSDU instance.
Defaults to
\'
OSDUTOKEN
\'
environment variable if not set.
'
)
def
main
():
def
main
():
...
...
Write
Preview
Supports
Markdown
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