Compare commits
2 Commits
931a4bab8c
...
7a10ac6822
Author | SHA1 | Date |
---|---|---|
Yasen Pramatarov | 7a10ac6822 | |
Yasen Pramatarov | 4329c7449f |
|
@ -14,10 +14,14 @@ All notable changes to this project will be documented in this file.
|
|||
|
||||
### Added
|
||||
- Initial changelog following the keepachangelog.com format
|
||||
- Added "silent" option to jilo-cli, suitable for scripting
|
||||
|
||||
### Changed
|
||||
- Updated the way jilo-cli handles multiple options, added filtering conferences by time period
|
||||
|
||||
### Fixed
|
||||
- Fixed an error in double counting of conferences in jilo-cli
|
||||
|
||||
---
|
||||
|
||||
## 0.1 - 2024-06-12
|
||||
|
|
12
jilo-cli
12
jilo-cli
|
@ -720,8 +720,18 @@ if [[ "$conference_option" == true ]]; then
|
|||
|
||||
# we only format the outrput if there are conferences to show
|
||||
if [[ "${#conference_array[@]}" -gt 0 ]]; then
|
||||
|
||||
output=""
|
||||
# prepare the header
|
||||
output="component\tconference ID\tconference name\tname count\tconference host\n"
|
||||
if [[ "$silent" != true ]]; then
|
||||
header="\nAll conferences"
|
||||
if [[ "$time_range_specified" == true ]]; then
|
||||
header+=" for the time period \"$IMPORTANT_TEXT$from_time - $until_time$NORMAL_TEXT\""
|
||||
fi
|
||||
header+="\n"
|
||||
echo -e "$header"
|
||||
output="component\tconference ID\tconference name\tname count\tconference host\n"
|
||||
fi
|
||||
# prepare the formatted rows
|
||||
for row in "${conference_array[@]}"; do
|
||||
IFS='|' read -r jitsi_component conference_id conference_name name_count conference_host <<< "$row"
|
||||
|
|
Loading…
Reference in New Issue