fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add DAISY HTML builder.
[librarian.git]
/
src
/
librarian
/
command_line.py
diff --git
a/src/librarian/command_line.py
b/src/librarian/command_line.py
index
91196f1
..
3c17daf
100644
(file)
--- a/
src/librarian/command_line.py
+++ b/
src/librarian/command_line.py
@@
-9,7
+9,7
@@
def main(*args, **kwargs):
parser.add_argument(
'builder',
parser.add_argument(
'builder',
- choices=
[b.identifier for b in builders]
,
+ choices=
builders.keys()
,
help="Builder"
)
parser.add_argument('input_file')
help="Builder"
)
parser.add_argument('input_file')
@@
-23,6
+23,7
@@
def main(*args, **kwargs):
)
args = parser.parse_args()
)
args = parser.parse_args()
+ builder = builders[args.builder]
if args.output_file:
output_file_path = args.output_file
if args.output_file:
output_file_path = args.output_file