OpenFunction / cli

A CLI for interacting with OpenFunction.
Apache License 2.0
12 stars 16 forks source link

Cannot get the functions correctly #38

Closed f10atin9 closed 2 years ago

f10atin9 commented 2 years ago

The ofn get command does not get the function correctly. image

tpiperatgod commented 2 years ago

It seems that we need to upgrade the version of OpenFunction in Cli.

From v1alpha1 to v1beta1.

f10atin9 commented 2 years ago

/assign

benjaminhuo commented 2 years ago

Thanks for taking this @f10atin9. Previously @wentevill add the client library in this cli tool, the client code is implemented in this cli tool.

But a better way is to add client library in the main repo and that's why https://github.com/OpenFunction/OpenFunction/pull/176 and https://github.com/OpenFunction/OpenFunction/pull/243 are created for.

So going forward, we may need to replace the client library in this cli with the one in the main repo. Use the client library in the main repo to implement functions like ofn get fn

benjaminhuo commented 2 years ago

@wentevill has created a PR for this https://github.com/OpenFunction/cli/pull/41 Close this issue for now.