IBM / aspera-cli

IBM Aspera CLI
Apache License 2.0
73 stars 17 forks source link

ascli node browse recursively #130

Closed cbrown1234 closed 7 months ago

cbrown1234 commented 10 months ago

I was looking for something along the lines of:

ascli node browse --recursive -Pmypreset /

I've read the docs extensively and cannot find it. Is it a feature I've missed, or is it not supported?

cbrown1234 commented 10 months ago

ascli node browse -h doesn't give any guidance

laurent-martin commented 10 months ago

If you access the node through an access key (you can test with: ascli node access_keys show self) then you can do: ascli node access_keys do self find / else you can do: ascli node search /

the search commands takes an option option: query that follows the API:

https://developer.ibm.com/apis/catalog/aspera--aspera-node-api/api/API--aspera--node-api#post804208062

and yes, currently there is no embedded help for commands yet, only global help and manual.

Then you can use option select to filter on column values. The next version will allows selection based on Ruby lambda.