Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dunitrust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nodes
rust
Dunitrust
Merge requests
!121
CLI improvements
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
CLI improvements
moul/cli_improvements
into
dev
Overview
8
Commits
3
Pipelines
0
Changes
2
Merged
Moul
requested to merge
moul/cli_improvements
into
dev
6 years ago
Overview
8
Commits
3
Pipelines
0
Changes
2
Expand
Remove clap relics
Better input, help, and print CLI interface:
Typo
Better English
…
0
0
Merge request reports
Viewing commit
4a3f79a7
Show latest version
2 files
+
0
−
172
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
4a3f79a7
[mod] remove old clap CLI tool usage relics
· 4a3f79a7
Moul
authored
6 years ago
lib/core/core/cli/en.yml deleted
100644 → 0
+
0
−
169
Options
name
:
durs
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
about
:
Rust implementation of Duniter
args
:
-
profile
:
short
:
p
long
:
profile
value_name
:
CUSTOM_PROFILE
help
:
Set a custom datas folder
takes_value
:
true
-
logs
:
short
:
l
long
:
logs
value_name
:
LOGS_LEVEL
takes_value
:
true
possible_values
:
[
"
e"
,
"
w"
,
"
i"
,
"
d"
,
"
t"
,
"
error"
,
"
warn"
,
"
info"
,
"
debug"
,
"
trace"
]
help
:
Set the level of logs verbosity
long_help
:
"
Set
the
level
of
logs
verbosity
:
\n
error
:
print
serious
errors
\n
warn
:
print
hazardous
situations
\n
info
:
default
level
\n
debug
:
print
a
lot
of
debug
informations
\n
trace
:
print
all
traces
(highly
verbose)"
subcommands
:
-
enable
:
about
:
Enable some module
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
args
:
-
MODULE_NAME
:
help
:
The module name to enable
index
:
1
required
:
true
-
disable
:
about
:
Disable some module
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
args
:
-
MODULE_NAME
:
help
:
The module name to disable
index
:
1
required
:
true
-
modules
:
about
:
list module
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
args
:
-
disabled
:
short
:
d
long
:
disabled
help
:
list only disabled modules
-
enabled
:
short
:
e
long
:
enabled
help
:
list only enabled modules
-
network
:
short
:
n
long
:
network
help
:
list only network modules
-
secret
:
short
:
s
long
:
secret
help
:
list only modules having access to the secret member key
-
start
:
about
:
start duniter server
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
-
sync
:
about
:
synchronization from network
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
args
:
-
DOMAIN_OR_IP
:
help
:
The domain name or ip address of the node from which to synchronize.
index
:
1
required
:
true
-
PORT
:
help
:
The port number of the node from which to synchronize.
index
:
2
required
:
true
-
PATH
:
help
:
The endpoint path of the node from which to synchronize.
index
:
3
-
cautious
:
short
:
c
long
:
cautious
help
:
cautious mode (check all protocol rules, very slow)
-
unsafe
:
short
:
u
long
:
unsafe
help
:
unsafe mode (not check blocks inner hashs, very dangerous)
-
sync_ts
:
about
:
synchronization via a duniter-ts database
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
args
:
-
TS_PROFILE
:
help
:
Set the ts profile to use
index
:
1
-
cautious
:
short
:
c
long
:
cautious
help
:
cautious mode (check all protocol rules, very slow)
-
unsafe
:
short
:
u
long
:
unsafe
help
:
unsafe mode (not check blocks inner hashs, very dangerous)
-
dbex
:
about
:
durs databases explorer
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
args
:
-
csv
:
short
:
c
long
:
csv
help
:
csv output
subcommands
:
-
distances
:
about
:
durs databases explorer (distances datas)
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
args
:
-
reverse
:
short
:
r
long
:
reverse
help
:
reverse order
-
member
:
about
:
durs databases explorer (wot member datas)
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
args
:
-
UID
:
help
:
choose member uid
index
:
1
required
:
true
-
members
:
about
:
durs databases explorer (wot members datas)
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
args
:
-
expire
:
short
:
e
long
:
expire
help
:
show members expire date
-
reverse
:
short
:
r
long
:
reverse
help
:
reverse order
-
balance
:
about
:
durs databases explorer (balances datas)
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
args
:
-
ADDRESS
:
help
:
public key or uid
index
:
1
required
:
true
-
reset
:
about
:
reset data or conf or all
version
:
"
0.1.0"
author
:
Elois L. <elois@duniter.org>
args
:
-
DATAS_TYPE
:
help
:
choose type datas to reset
index
:
1
possible_values
:
[
"
data"
,
"
conf"
,
"
all"
]
required
:
true
\ No newline at end of file
Loading