Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
7321f18d
Commit
7321f18d
authored
5 years ago
by
matograine
Committed by
Moul
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[feat]
#111
: Send multiple outputs
* change the click options and help
parent
6d5fe97f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
silkaj/tx.py
+2
-4
2 additions, 4 deletions
silkaj/tx.py
with
2 additions
and
4 deletions
silkaj/tx.py
+
2
−
4
View file @
7321f18d
...
...
@@ -43,15 +43,13 @@ from duniterpy.documents.transaction import OutputSource, Unlock, SIGParameter
@command
(
"
tx
"
,
help
=
"
Send transaction
"
)
@option
(
"
--amount
"
,
type
=
FloatRange
(
0.01
),
help
=
"
Quantitative value
"
,
help
=
"
Quantitative value(s) : <value_1>:<value_2>:... If one amount specified, this amount will be sent to all recipients.
"
,
cls
=
MutuallyExclusiveOption
,
mutually_exclusive
=
[
"
amountud
"
,
"
allsources
"
],
)
@option
(
"
--amountUD
"
,
type
=
float
,
help
=
"
Relative value
"
,
help
=
"
Relative value(s) : <value_1>:<value_2>:... If only one amount, it will be sent to all recipients.
"
,
cls
=
MutuallyExclusiveOption
,
mutually_exclusive
=
[
"
amount
"
,
"
allsources
"
],
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment