Paperspace / paperspace-node

Paperspace API for node.js
https://www.paperspace.com/core
ISC License
75 stars 15 forks source link

fix(resourceDelegations): parse object if passed as string for cli #37

Closed mlunoe closed 5 years ago

mlunoe commented 5 years ago

This PR fixes a problem encountered when running the cli to create resourceDelegations, where the arguments would not be passed correctly. I changed the method to handle the delegation object as a string and provided instructions for this as well.

I tested this out for both node and cli.

Unrelated to this, when the cli encounters an error it does not return with the error, it just times out. This is something we need to fix, created a ticket here: https://paperspace.atlassian.net/browse/PS-9675

mlunoe commented 5 years ago

Build failing, since the process has not landed yet. It will start passing when this PR merges: https://github.com/Paperspace/paperspace-node/pull/38