Skip to content

Commit

Permalink
have a default bootstrap piece location
Browse files Browse the repository at this point in the history
  • Loading branch information
mvadari committed Oct 31, 2023
1 parent 10b580f commit 9f34ee8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions xbridge_cli/server/config/prod/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@
"-o",
"--output_file",
prompt=True,
default="./bootstrap-piece.json",
type=click.Path(),
help="The location of the witness config file.",
help=(
"The location of the witness config file. The default is "
"'./bootstrap-piece.json'."
),
)
def get_bootstrap_piece_from_witness(
witness_file: str, output_file: Optional[str] = None
witness_file: str, output_file: Optional[str] = "./bootstrap-piece.json"
) -> None:
"""
Extract the info needed for the bootstrap file from a witness config file, without
Expand Down

0 comments on commit 9f34ee8

Please sign in to comment.