Skip to content

feat: implement list nodes command#277

Open
elsirion wants to merge 1 commit into
nix-community:mainfrom
elsirion:2025-04-list-nodes
Open

feat: implement list nodes command#277
elsirion wants to merge 1 commit into
nix-community:mainfrom
elsirion:2025-04-list-nodes

Conversation

@elsirion

Copy link
Copy Markdown

I was missing a way to just list all nodes in the hive, this PR implements both a human readable version as well as a flag to output the list as JSON.

@elsirion

Copy link
Copy Markdown
Author

The test_parse_makehive_flake test failure seems unrelated to my PR, it also happens when building main :/ Lmk if you want me to change anything in the PR :)

@erooke

erooke commented Jul 25, 2025

Copy link
Copy Markdown

In the meantime the following command outputs the list of all nodes in the hive as a json list:

colmena eval -E "{ nodes, ... }: builtins.attrNames nodes"

From docs.

@elsirion

Copy link
Copy Markdown
Author

Btw, the docs seem down for me :/

@erooke

erooke commented Jul 29, 2025

Copy link
Copy Markdown

Btw, the docs seem down for me :/

Yeah, cli.rs let their domain expire zackify/cli.rs#113

The docs are live here for the time being: https://stuff.naive.network/colmena-docs-f560ed6

(they're also pretty easy to build locally with nix build .#manual)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants