Skip to content

feat: add upload folder command and improvs #501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lordshashank
Copy link

  • Implements uploadFolder CLI command, which recursively uploads all the files in folders to pdpservice.
  • Implements optional parameter of valid-time for jwt creation and defaults it to 24 hours.
  • Implements option addRoots parameter to uploadFile and uploadFolder command to upload and add root of particular file/folder in one go rather than running separate commands.
  • Refactors code to use functions for repetitive tasks.

Future improvs:-

  • multiple root additions in single POST call to pdp-miner has some bugs i.e. is not working properly, hence currently makes multiple request for each roots.

…dity time and enhance upload file and folder command with optional addRootsCommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant