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
0a84930c
"content/git@git.duniter.org:Processus42/monnaie-libre-fr.git" did not exist on "0e1ccee5cc77e99e9b0bf73c194fe0c89c2c2ec6"
Commit
0a84930c
authored
6 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[enh]
#77
: update usage according to CLI changes
parent
d198457b
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/cli_tools.py
+11
-11
11 additions, 11 deletions
silkaj/cli_tools.py
with
11 additions
and
11 deletions
silkaj/cli_tools.py
+
11
−
11
View file @
0a84930c
...
@@ -187,8 +187,8 @@ def cliWot(id):
...
@@ -187,8 +187,8 @@ def cliWot(id):
def
usage
():
def
usage
():
message_exit
(
message_exit
(
"
Silkaj: command line client for Duniter currencies
\
"
Silkaj: command line client for Duniter currencies
\
\n\n
help:
-h,
--help
, --usage
\
\n\n
help: --help
\
\n
version:
-v,
--version
\
\n
version: --version
\
\n
about: display informations about the programm
\
\n
about: display informations about the programm
\
\n
\
\n
\
\n
Endpoint:
\
\n
Endpoint:
\
...
@@ -203,16 +203,16 @@ def usage():
...
@@ -203,16 +203,16 @@ def usage():
+
"
currency with `https://
"
+
"
currency with `https://
"
+
G1_TEST_DEFAULT_ENDPOINT
[
0
]
+
G1_TEST_DEFAULT_ENDPOINT
[
0
]
+
"
` endpoint
\
+
"
` endpoint
\
\n
- custom endpoint can be specified with
`-p`
option followed by <domain>:<port>
\
\n
- custom endpoint can be specified with
[-p | --peer]
option followed by <domain>:<port>
\
\n
\
\n
\
\n
Commands:
\
\n
Commands:
\
\n
- info: Display information about currency
\
\n
- info: Display information about currency
\
\n
\
\n
\
\n
- amount: Get amount of accounts
\
\n
- amount: Get amount of accounts
\
\n
pubkeys and/or ids separated with colon: <pubkey:
id:
pubkey>
\
\n
pubkeys and/or ids separated with colon: <pubkey:pubkey>
\
\n
- authentication: see below section
\
\n
- authentication: see below section
\
\n
\
\n
\
\n
- tx
/transaction
: Send transaction
\
\n
- tx: Send transaction
\
\n
- authentication: see below section
\
\n
- authentication: see below section
\
\n
- amount:
\
\n
- amount:
\
\n
--amountUD=<relative value> | --amount=<quantitative value>
\
\n
--amountUD=<relative value> | --amount=<quantitative value>
\
...
@@ -226,23 +226,23 @@ def usage():
...
@@ -226,23 +226,23 @@ def usage():
\n
- e.g.: silkaj cert <id> <auth>
\
\n
- e.g.: silkaj cert <id> <auth>
\
\n
- authentication: see below section
\
\n
- authentication: see below section
\
\n
\
\n
\
\n
- net
/network
: Display current network with many information
\
\n
- net: Display current network with many information
\
\n
[--discover] Discover all network (could take a while), optional
\
\n
[
-d |
--discover] Discover all network (could take a while), optional
\
\n
[-s | --sort] Sort column names comma-separated (for example
\"
-s block,diffi
\"
), optional
\
\n
[-s | --sort] Sort column names comma-separated (for example
\"
-s block,diffi
\"
), optional
\
\n
Default sort is block,member,diffi,uid
\
\n
Default sort is block,member,diffi,uid
\
\n
\
\n
\
\n
- diffi: list proof-of-work difficulty to generate next block
\
\n
- diffi: list proof-of-work difficulty to generate next block
\
\n
\
\n
\
\n
-
issuers n
: display last n
issuer
s (`0` for current window size)
\
\n
-
blocks
: display last n
block
s (`0` for current window size)
\
\n
last issuer
s are displayed under n <= 30.
\
\n
[-n | --nbr] detailed block
s are displayed under n <= 30.
\
\n
To force d
isplay last ones, use `--last`
option
\
\n
To force d
etailed display, use [-d | --detailed]
option
\
\n
\
\n
\
\n
- argos: display currency information formated for Argos or BitBar
\
\n
- argos: display currency information formated for Argos or BitBar
\
\n
\
\n
\
\n
- generate_auth_file: Generate file to store the seed of the account
\
\n
- generate_auth_file: Generate file to store the seed of the account
\
\n
- authentication: see below section
\
\n
- authentication: see below section
\
\n
\
\n
\
\n
- id
/identities
<pubkey> or <identity>: get corresponding identity or pubkey from pubkey or identity.
\
\n
- id <pubkey> or <identity>: get corresponding identity or pubkey from pubkey or identity.
\
\n
it could autocomplete the pubkey corresponding to an identity with three or four following characters.
\
\n
it could autocomplete the pubkey corresponding to an identity with three or four following characters.
\
\n
\
\n
\
\n
- wot <pubkey> or <identity>: display received and sent certifications for an account.
\
\n
- wot <pubkey> or <identity>: display received and sent certifications for an account.
\
...
...
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