Skip to content

GroupPath enhancements #3914

Open
Open
@chrisjsewell

Description

@chrisjsewell

As discussed, CLI improvements to open in a separate "enhancements" issue, when this PR is merged:

  • Add --depth CLI option to work with --recursive
  • Add node count option; parent paths will return a count of all descendant nodes, e.g.
$ verdi group path ls --recursive --count
Path       Nodes
-------  ------------
a         10
a/b       4
a/c       6
  • Option to report paths relative to base path, e.g.
$ verdi group path ls a
a/b
a/c
$ verdi group path ls a --relative
b
c
  • make delimiter publicly configurable
  • dealing with multiple type_string

Originally posted by @chrisjsewell in #3613 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions