faas-cli icon indicating copy to clipboard operation
faas-cli copied to clipboard

Hacktoberfest: Alter verb invoke to take positional argument

Open alexellis opened this issue 9 years ago • 5 comments

Expected Behaviour

$ faas-cli invoke url-ping -f stack.yml

Current Behaviour

$ faas-cli invoke --name url-ping -f stack.yml

Possible Solution

Follow pattern in new and remove verbs.

Context

Reducing CLI verbosity.

alexellis avatar Oct 01 '17 19:10 alexellis

Can I work on this issue? Any idea where can I start? I suppose I can use https://github.com/openfaas/faas-cli/pull/132 and apply the same idea to commands/invoke.go ?

amirkarimi avatar Oct 01 '17 20:10 amirkarimi

@alexellis can i pick up this work? per discussion on #133

gardlt avatar Oct 01 '17 20:10 gardlt

Hi Amir @amirkarimi,

@gardlt asked to work on this via https://github.com/openfaas/faas-cli/issues/133 - but we can find you something else to get stuck into. Would you like to ping [email protected] and I'll introduce you to our Slack community and other new contributors?

We have more issues ready here too:

https://github.com/openfaas/faas/issues

https://github.com/openfaas/faas-netes/issues

https://github.com/openfaas/faas-cli/issues

Alex

alexellis avatar Oct 01 '17 20:10 alexellis

Of course, go ahead @gardlt :+1:

@alexellis Thanks, just sent an email to you.

amirkarimi avatar Oct 01 '17 20:10 amirkarimi

Here's another example issue @amirkarimi - https://github.com/openfaas/faas/issues/198

alexellis avatar Oct 01 '17 20:10 alexellis