generated from Astrial.org/template
feat: print diaryrs in info cmd
This commit is contained in:
parent
5a6df1a917
commit
624e3457e1
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ fn main() {
|
||||||
args::Commands::Info => {
|
args::Commands::Info => {
|
||||||
let time = Time::build().unwrap_or_fatal("Failed to determine time information");
|
let time = Time::build().unwrap_or_fatal("Failed to determine time information");
|
||||||
let config = Config::read().unwrap_or_fatal("Failed to read config file");
|
let config = Config::read().unwrap_or_fatal("Failed to read config file");
|
||||||
|
println!("diaryrs");
|
||||||
println!(
|
println!(
|
||||||
"[TIME] Timestamp: {}, Timezone: {}",
|
"[TIME] Timestamp: {}, Timezone: {}",
|
||||||
time.timestamp, time.timezone
|
time.timestamp, time.timezone
|
||||||
|
|
Loading…
Reference in a new issue