aisingapore / PeekingDuck

A modular framework built to simplify Computer Vision inference workloads.
Apache License 2.0
163 stars 39 forks source link

Feat: sort `peekingduck nodes` output #736

Closed liyier90 closed 1 year ago

liyier90 commented 1 year ago

Closes https://github.com/aisingapore/PeekingDuck-Private/issues/111

Invoking 'peekingduck nodes --help'...
Usage: cli nodes [OPTIONS] [TYPE_NAME]

  Lists available nodes in PeekingDuck. When no argument is given, all
  available nodes will be listed. When the node type is given as an argument,
  all available nodes in the specified node type will be listed.

  Args:     type_name (str): input, augment, model, draw, dabble, or output.

Options:
  --order [ASC|DESC]  Sorts the node names by either ascending (ASC) or
                      descending (DESC) alphabetical order.

  --help              Show this message and exit.