Skip to content

Create find command #2

Description

@nmassey001

Create a command that will find all files for a user and / or group workspace.

Use click to create the command line interface.

Follow the protocol of writing a separate function for:

  1. Interpret the command line arguments
  2. Make the request to NLDS
  3. Process the request return
  4. Print the processed results

1 Is just writing the click functionality at the top of the function
2 Has already been written: find_files in publishers/find.py
3 Means filtering the results based on the return values: e.g. filter by start and end date, or file version / date
4 Should be able to print to the terminal or provide a JSON dump of the filtered results.

It would be good to have some common print function, I think.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions