ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix `wire inspect names` always outputting json

+9 -2
+2
CHANGELOG.md
··· 15 15 16 16 - Fix a bug where key permissions where being printed in decimal format instead 17 17 of octal. 18 + - `wire inspect names` without `--json` will now correctly output names as a 19 + newline separated string instead of always as a json list. 18 20 19 21 ### Removed 20 22
+7 -2
crates/cli/src/main.rs
··· 140 140 } 141 141 } 142 142 cli::Inspection::Names => { 143 - serde_json::to_string(&get_hive_node_names(&location, modifiers).await?) 144 - .into_diagnostic()? 143 + let names = get_hive_node_names(&location, modifiers).await?; 144 + 145 + if json { 146 + serde_json::to_string(&names).into_diagnostic()? 147 + } else { 148 + names.join("\n") 149 + } 145 150 } 146 151 } 147 152 }),