Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

9,771

Downloads of v 0.16.21:

21

Last Update:

30 Nov 2023

Package Maintainer(s):

Software Author(s):

  • Alex Ellis

Tags:

faas-cli faas openfaas serverless kubernetes docker swarm functions function faas-netes

Official CLI for OpenFaaS

  • 1
  • 2
  • 3

0.16.21 | Updated: 30 Nov 2023

Downloads:

9,771

Downloads of v 0.16.21:

21

Maintainer(s):

Software Author(s):

  • Alex Ellis

Official CLI for OpenFaaS 0.16.21

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Official CLI for OpenFaaS, run the following command from the command line or from PowerShell:

>

To upgrade Official CLI for OpenFaaS, run the following command from the command line or from PowerShell:

>

To uninstall Official CLI for OpenFaaS, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade faas-cli -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade faas-cli -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install faas-cli
  win_chocolatey:
    name: faas-cli
    version: '0.16.21'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'faas-cli' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '0.16.21'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller faas-cli
{
    Name     = "faas-cli"
    Version  = "0.16.21"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'faas-cli':
  ensure   => '0.16.21',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 30 Nov 2023.

Description

faas-cli

Build Status
Go Report Card
License: MIT
OpenFaaS

This is a CLI for use with OpenFaaS - a serverless functions framework for Docker & Kubernetes.

> Before using this tool please setup OpenFaaS by following instructions over on the main repo.

The CLI can be used to build and deploy functions to OpenFaaS. You can build OpenFaaS functions from a set of supported language templates (such as Node.js, Python, CSharp and Ruby). That means you just write a handler file such as (handler.py/handler.js) and the CLI does the rest to create a Docker image.

Demo: ASCII cinema

TL;DR - Introductory tutorial

Blog: Coffee with the FaaS-CLI

Run the CLI

The main commands supported by the CLI are:

  • faas-cli new - creates a new function via a template in the current directory

  • faas-cli login - stores basic auth credentials for OpenFaaS gateway (supports multiple gateways)

  • faas-cli logout - removes basic auth credentials for a given gateway

  • faas-cli up - a combination of build/push and deploy

  • faas-cli build - builds Docker images from the supported language types

  • faas-cli push - pushes Docker images into a registry

  • faas-cli deploy - deploys the functions into a local or remote OpenFaaS gateway

  • faas-cli remove - removes the functions from a local or remote OpenFaaS gateway

  • faas-cli invoke - invokes the functions and reads from STDIN for the body of the request

  • faas-cli store - allows browsing and deploying OpenFaaS store functions

  • faas-cli secret - manage secrets for your functions

  • faas-cli auth - (alpha) initiates an OAuth2 authorization flow to obtain a cookie

FaaS-CLI Developers / Contributors

See contributing guide.

License

This project is part of OpenFaaS and is licensed under the MIT License.

Maintainer's Note

I produce and maintain Chocolatey packages in my spare time, for free. If you use my packages, and appreciate the time and effort I put into making and maintaining them, please consider making a small donation. Thank-you!


legal\LICENSE.txt
From: https://github.com/openfaas/faas-cli/blob/master/LICENSE

LICENSE

 MIT License

Copyright (c) 2016-2017 Alex Ellis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
legal\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

1.  Download the installer:

    x32: https://github.com/openfaas/faas-cli/releases/download/0.16.21/faas-cli.exe

2.  You can use one of the following methods to obtain the checksum: 
    - Use powershell function 'Get-FileHash'
    - Use Chocolatey utility 'checksum.exe'
    - Using AU:
        Get-RemoteChecksum https://github.com/openfaas/faas-cli/releases/download/0.16.21/faas-cli.exe

3.  Compare to Checksum:

    checksum_from_file: https://github.com/openfaas/faas-cli/releases/download/0.16.21/faas-cli.exe.sha256

    OR
    
    checksum32: 941BA6329A883A473AA65A35082C157A86A17EDC8C3399DE9BDC23544F4C02FD
tools\faas-cli.exe
md5: 163F7DA711E43827F328968B8C6E3EBB | sha1: F63C662F781E36382FA87243B69C5A4B64B50A11 | sha256: 941BA6329A883A473AA65A35082C157A86A17EDC8C3399DE9BDC23544F4C02FD | sha512: F23AC9783D13027DAAE60BDF559E87F84F9E73DFFBD4B2005C1989763921FD357DF6792DE550A7A73D77B56844BAF8764A0C367A3DC5ACDE2F5D37FD7C79C9CD

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Official CLI for OpenFaaS 0.16.18 34 Tuesday, November 21, 2023 Approved
Official CLI for OpenFaaS 0.16.17 51 Wednesday, October 18, 2023 Approved
Official CLI for OpenFaaS 0.16.16 37 Thursday, October 5, 2023 Approved
Official CLI for OpenFaaS 0.16.14 44 Saturday, September 16, 2023 Approved
Official CLI for OpenFaaS 0.16.13 51 Saturday, August 26, 2023 Approved
Official CLI for OpenFaaS 0.16.12 67 Friday, July 7, 2023 Approved
Official CLI for OpenFaaS 0.16.11 27 Thursday, July 6, 2023 Approved
Official CLI for OpenFaaS 0.16.10 36 Saturday, July 1, 2023 Approved
Official CLI for OpenFaaS 0.16.9 29 Friday, June 30, 2023 Approved
Official CLI for OpenFaaS 0.16.7 71 Wednesday, June 7, 2023 Approved
Official CLI for OpenFaaS 0.16.5 45 Friday, June 2, 2023 Approved
Official CLI for OpenFaaS 0.16.4 57 Thursday, May 18, 2023 Approved
Official CLI for OpenFaaS 0.16.3 95 Wednesday, April 5, 2023 Approved
Official CLI for OpenFaaS 0.16.2 46 Friday, March 24, 2023 Approved
Official CLI for OpenFaaS 0.16.1 48 Tuesday, March 14, 2023 Approved
Official CLI for OpenFaaS 0.16.0 53 Friday, February 24, 2023 Approved
Official CLI for OpenFaaS 0.15.9 43 Thursday, February 16, 2023 Approved
Official CLI for OpenFaaS 0.15.8 44 Friday, February 10, 2023 Approved
Official CLI for OpenFaaS 0.15.7 29 Wednesday, February 8, 2023 Approved
Official CLI for OpenFaaS 0.15.6 52 Friday, January 20, 2023 Approved
Official CLI for OpenFaaS 0.15.4 87 Friday, November 11, 2022 Approved
Official CLI for OpenFaaS 0.15.2 47 Thursday, November 3, 2022 Approved
Official CLI for OpenFaaS 0.14.11 52 Friday, October 28, 2022 Approved
Official CLI for OpenFaaS 0.14.6 102 Tuesday, August 23, 2022 Approved
Official CLI for OpenFaaS 0.14.5 68 Tuesday, August 9, 2022 Approved
Official CLI for OpenFaaS 0.14.2 195 Thursday, February 3, 2022 Approved
Official CLI for OpenFaaS 0.14.1 123 Saturday, December 4, 2021 Approved
Official CLI for OpenFaaS 0.13.15 101 Friday, November 5, 2021 Approved
Official CLI for OpenFaaS 0.13.13 193 Thursday, June 17, 2021 Approved
Official CLI for OpenFaaS 0.13.11 113 Friday, June 4, 2021 Approved
Official CLI for OpenFaaS 0.13.9 170 Thursday, March 11, 2021 Approved
Official CLI for OpenFaaS 0.13.6 110 Tuesday, February 23, 2021 Approved
Official CLI for OpenFaaS 0.13.5 83 Friday, February 19, 2021 Approved
Official CLI for OpenFaaS 0.13.4 106 Monday, February 15, 2021 Approved
Official CLI for OpenFaaS 0.13.2 113 Tuesday, February 9, 2021 Approved
Official CLI for OpenFaaS 0.13.0 96 Saturday, February 6, 2021 Approved
Official CLI for OpenFaaS 0.12.21 170 Tuesday, December 15, 2020 Approved
Official CLI for OpenFaaS 0.12.20 105 Saturday, December 12, 2020 Approved
Official CLI for OpenFaaS 0.12.19 124 Friday, November 20, 2020 Approved
Official CLI for OpenFaaS 0.12.18 98 Thursday, November 19, 2020 Approved
Official CLI for OpenFaaS 0.12.14 172 Friday, October 9, 2020 Approved
Official CLI for OpenFaaS 0.12.13 151 Thursday, September 17, 2020 Approved
Official CLI for OpenFaaS 0.12.9 156 Tuesday, August 25, 2020 Approved
Official CLI for OpenFaaS 0.12.8 269 Thursday, July 2, 2020 Approved
Official CLI for OpenFaaS 0.12.6 127 Tuesday, June 30, 2020 Approved
Official CLI for OpenFaaS 0.12.4 235 Saturday, May 2, 2020 Approved
Official CLI for OpenFaaS 0.12.3 167 Friday, April 24, 2020 Approved
Official CLI for OpenFaaS 0.12.2 235 Wednesday, March 25, 2020 Approved
Official CLI for OpenFaaS 0.12.1 153 Friday, March 20, 2020 Approved
Official CLI for OpenFaaS 0.11.8 215 Monday, February 24, 2020 Approved
Official CLI for OpenFaaS 0.11.7 194 Saturday, January 25, 2020 Approved
Official CLI for OpenFaaS 0.11.6 165 Saturday, January 18, 2020 Approved
Official CLI for OpenFaaS 0.11.5 158 Thursday, January 16, 2020 Approved
Official CLI for OpenFaaS 0.11.3 193 Wednesday, December 18, 2019 Approved
Official CLI for OpenFaaS 0.11.2 165 Monday, December 16, 2019 Approved
Official CLI for OpenFaaS 0.11.1 152 Wednesday, December 11, 2019 Approved
Official CLI for OpenFaaS 0.11.0 193 Monday, December 2, 2019 Approved
Official CLI for OpenFaaS 0.10.5 172 Thursday, November 28, 2019 Approved
Official CLI for OpenFaaS 0.10.3 199 Friday, November 8, 2019 Approved
Official CLI for OpenFaaS 0.10.1 147 Tuesday, November 5, 2019 Approved
Official CLI for OpenFaaS 0.9.5 191 Monday, October 21, 2019 Approved
Official CLI for OpenFaaS 0.9.4 182 Thursday, October 17, 2019 Approved
Official CLI for OpenFaaS 0.9.3 193 Monday, September 30, 2019 Approved
Official CLI for OpenFaaS 0.9.2 285 Tuesday, August 20, 2019 Approved
Official CLI for OpenFaaS 0.9.1 174 Friday, August 16, 2019 Approved
Official CLI for OpenFaaS 0.9.0 167 Tuesday, August 6, 2019 Approved
Official CLI for OpenFaaS 0.8.23 201 Friday, August 2, 2019 Approved
Official CLI for OpenFaaS 0.8.22 189 Thursday, July 18, 2019 Approved
Official CLI for OpenFaaS 0.8.21 168 Tuesday, July 9, 2019 Approved
Official CLI for the OpenFaaS Serverless framework 0.5.0 798 Tuesday, November 14, 2017 Approved
Official CLI for the OpenFaaS Serverless framework 0.4.20.20171029 342 Sunday, October 29, 2017 Approved

This package has no dependencies.

Discussion for the Official CLI for OpenFaaS Package

Ground Rules:

  • This discussion is only about Official CLI for OpenFaaS and the Official CLI for OpenFaaS package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Official CLI for OpenFaaS, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus