Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
d03b8be7
Commit
d03b8be7
authored
May 17, 2016
by
Peter van 't Hof
Browse files
Make curl pipable
parent
0d14a49a
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Curl.scala
View file @
d03b8be7
...
...
@@ -34,5 +34,5 @@ class Curl(val root: Configurable) extends BiopetCommandLineFunction with Versio
def
versionCommand
=
executable
+
" --version"
def
versionRegex
=
"""curl (\w+\.\w+\.\w+) .*"""
.
r
def
cmdLine
:
String
=
required
(
executable
)
+
required
(
url
)
+
" > "
+
required
(
output
)
def
cmdLine
:
String
=
required
(
executable
)
+
required
(
url
)
+
(
if
(
outputAsStsout
)
""
else
" > "
+
required
(
output
)
)
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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