Compare commits
No commits in common. "cb36b8adb33f825d97ec711a4acac210f6a9413a" and "c579c172ef4127271053403be0fb128329b9d24d" have entirely different histories.
cb36b8adb3
...
c579c172ef
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
@ -8,6 +8,7 @@
|
|||||||
"name": "Use Test Resources",
|
"name": "Use Test Resources",
|
||||||
"type": "python",
|
"type": "python",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
|
"program": "${workspaceFolder}/csvbyname/csvbyname.py",
|
||||||
"console": "integratedTerminal",
|
"console": "integratedTerminal",
|
||||||
"args": [
|
"args": [
|
||||||
"${workspaceFolder}/tests/resources",
|
"${workspaceFolder}/tests/resources",
|
||||||
@ -19,8 +20,7 @@
|
|||||||
"-V",
|
"-V",
|
||||||
"DEBUG"
|
"DEBUG"
|
||||||
],
|
],
|
||||||
"justMyCode": true,
|
"justMyCode": true
|
||||||
"module": "csvbyname.cli"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -20,7 +20,6 @@ pipeline {
|
|||||||
stage("test") {
|
stage("test") {
|
||||||
steps {
|
steps {
|
||||||
sh "pip install dist/*.whl"
|
sh "pip install dist/*.whl"
|
||||||
sh "csvbyname -h"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("archive") {
|
stage("archive") {
|
||||||
|
@ -13,7 +13,7 @@ def run(args):
|
|||||||
args.recursive,
|
args.recursive,
|
||||||
args.add_re_property,
|
args.add_re_property,
|
||||||
)
|
)
|
||||||
write_collected_to_csv(args.output, collected, pkeys, args.output_basename)
|
write_collected_to_csv(args.output, collected, pkeys)
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
@ -64,16 +64,6 @@ def main():
|
|||||||
nargs="+",
|
nargs="+",
|
||||||
type=str,
|
type=str,
|
||||||
)
|
)
|
||||||
argparser.add_argument(
|
|
||||||
"-n",
|
|
||||||
"--output-basename",
|
|
||||||
help='Adds a column called "basename" to the resulting CSV where it is just '
|
|
||||||
"The base name of the path instead of the entire path. This is not guaranteed "
|
|
||||||
"to be unique.",
|
|
||||||
default=False,
|
|
||||||
required=False,
|
|
||||||
action="store_true",
|
|
||||||
)
|
|
||||||
argparser.add_argument(
|
argparser.add_argument(
|
||||||
"-V",
|
"-V",
|
||||||
"--verbosity",
|
"--verbosity",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user