feat: implement list nodes command#277
Open
elsirion wants to merge 1 commit into
Open
Conversation
Author
|
The |
|
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. |
Author
|
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.