You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/05/05 04:53:42 UTC

[GitHub] [cloudstack-cloudmonkey] nettoclaudio opened a new pull request, #114: fix: reuse cmk's CLI params to call piped cmd

nettoclaudio opened a new pull request, #114:
URL: https://github.com/apache/cloudstack-cloudmonkey/pull/114

   This fix makes possible to call piped commands in the `cmk`'s prompt when using a profile else than default one. 
   
   ---
   
   Before this patch, we got a weird error while calling any piped command from a session started with a different profile (passed from command line parameters).
   ```
   % cmk -p my-example-profile -o json
   Apache CloudStack 🐵 CloudMonkey 6.2.0
   Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
   
   (my-example-profile) 🐱 > list projects | jq -r '.project[].name'
   🙈 Error: exit status 4
   ```
   
   After this one we got the right output:
   ```
   % cmk-patched -p my-example-profile -o json
   Apache CloudStack 🐵 CloudMonkey 6.2.0
   Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
   
   (my-example-profile) 🐱 > list projects | jq -r '.project[].name'
   project01
   project02
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack-cloudmonkey] rohityadavcloud merged pull request #114: fix: reuse cmk's CLI params to call piped cmd

Posted by GitBox <gi...@apache.org>.
rohityadavcloud merged PR #114:
URL: https://github.com/apache/cloudstack-cloudmonkey/pull/114


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org