Skip to content
Snippets Groups Projects

#330: Restructure repository

Merged Moul requested to merge 330_repo_structure into main
3 files
+ 31
46
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 6
6
@@ -31,7 +31,7 @@ from duniterpy.documents import (
)
from duniterpy.key import SigningKey
from silkaj import auth, cli_tools, network, public_key, tools, tui
from silkaj import auth, network, public_key, tools, tui
from silkaj.blockchain import tools as bc_tools
from silkaj.constants import (
CENT_MULT_TO_UNIT,
@@ -67,7 +67,7 @@ NBR_ISSUERS = 1
multiple=True,
type=click.FloatRange(MINIMAL_ABSOLUTE_TX_AMOUNT),
help=f"Quantitative amount(s):\n-a <amount>\nMinimum amount is {MINIMAL_ABSOLUTE_TX_AMOUNT}.",
cls=cli_tools.MutuallyExclusiveOption,
cls=tools.MutuallyExclusiveOption,
mutually_exclusive=["amountsud", "allsources", "file_path"],
)
@click.option(
@@ -77,14 +77,14 @@ NBR_ISSUERS = 1
multiple=True,
type=click.FloatRange(MINIMAL_RELATIVE_TX_AMOUNT),
help=f"Relative amount(s):\n-d <amount_UD>\nMinimum amount is {MINIMAL_RELATIVE_TX_AMOUNT}",
cls=cli_tools.MutuallyExclusiveOption,
cls=tools.MutuallyExclusiveOption,
mutually_exclusive=["amounts", "allsources", "file_path"],
)
@click.option(
"--allSources",
is_flag=True,
help="Send all sources to one recipient",
cls=cli_tools.MutuallyExclusiveOption,
cls=tools.MutuallyExclusiveOption,
mutually_exclusive=["amounts", "amountsud", "file_path"],
)
@click.option(
@@ -96,7 +96,7 @@ NBR_ISSUERS = 1
Sending to many recipients is possible:\n\
* With one amount, all will receive the amount\n\
* With many amounts (one per recipient)",
cls=cli_tools.MutuallyExclusiveOption,
cls=tools.MutuallyExclusiveOption,
mutually_exclusive=["file_path"],
)
@click.option(
@@ -105,7 +105,7 @@ Sending to many recipients is possible:\n\
"-f",
help="File’s path containing a list of amounts in absolute or \
relative reference and recipients’ pubkeys",
cls=cli_tools.MutuallyExclusiveOption,
cls=tools.MutuallyExclusiveOption,
mutually_exclusive=["recipients", "amounts", "amountsUD", "allsources"],
)
@click.option("--comment", "-c", default="", help="Comment")
Loading