Davide Galassi
7035034710
Improve Client CLI help readability ( #2073 )
...
Currently the CLI `-h/--help` commad output is almost unreadable as (for
some commands) it:
- doesn't provide a short brief of what the command does.
- doesn't separate the options description in smaller paragraphs.
- doesn't use a smart wrap strategy for lines longer than the number of
columns in the terminal.
Follow some pics taken with a 100 cols wide term
## Short help (./node -h)
### Before

### After

## Long help (./node --help)
### Before

### After

---------
Co-authored-by: command-bot <>
2023-10-29 18:25:33 +01:00
yjh
44f5d8afe4
chore(storage-monitor): improve free_space calculation and cli default value ( #14133 )
...
* chore(storage-monitor): fix free_space calculation
* add `Result` type
* add docs
* update `polling_period` default value to `6`
* Update client/storage-monitor/src/lib.rs
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
* Apply suggestions from code review
---------
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-05-12 20:36:56 +00:00
Arsenii Lyashenko
a1c546e9aa
Add Windows support for storage monitor ( #13466 )
...
* Add Windows support for storage monitor
* Apply suggested changes
2023-02-27 20:26:38 +00:00
Vivek Pandya
bc53b9a03a
Remove years from copyright notes. ( #13415 )
...
* Change copyright year to 2023 from 2022
* Fix incorrect update of copyright year
* Remove years from copy right header
* Fix remaining files
* Fix typo in a header and remove update-copyright.sh
2023-02-21 18:46:41 +00:00
Michal Kucharczyk
d99e2e4bea
storage-monitor: statvfs arithmetic bug fixed ( #13234 )
2023-01-24 19:22:47 +00:00
Michal Kucharczyk
14a4eed2aa
service: storage monitor added ( #13082 )
...
* service: storage monitor added
Storage monitor added. It uses `notify` create to get notifications
about any changes to monitored path (which is database path).
Notifications are consumed in essential task which terminates when
available storage space drops below given threshold.
Closes : #12399
* Cargo.lock updated
* misspell
* fs events throttling added
* minor updates
* filter out non mutating events
* misspell
* ".git/.scripts/commands/fmt/fmt.sh"
* Update client/service/src/storage_monitor.rs
Co-authored-by: Anton <anton.kalyaev@gmail.com >
* storage-monitor crate added
* cleanup: configuration + service builder
* storage_monitor in custom service (wip)
* copy-paste bad desc fixed
* notify removed
* storage_monitor added to node
* fix for clippy
* publish = false
* Update bin/node/cli/src/command.rs
Co-authored-by: Dmitry Markin <dmitry@markin.tech >
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* crate name: storage-monitor -> sc-storage-monitor
* error handling improved
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* publish=false removed
Co-authored-by: command-bot <>
Co-authored-by: Anton <anton.kalyaev@gmail.com >
Co-authored-by: Dmitry Markin <dmitry@markin.tech >
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-01-24 13:26:04 +00:00