Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

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

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
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

Downloads:

12,959

Downloads of v 0.16.38:

22

Last Update:

21 Dec 2024

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.38 | Updated: 21 Dec 2024

Downloads:

12,959

Downloads of v 0.16.38:

22

Maintainer(s):

Software Author(s):

  • Alex Ellis

Official CLI for OpenFaaS 0.16.38

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Alex Ellis. The inclusion of Alex Ellis trademark(s), if any, upon this webpage is solely to identify Alex Ellis goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

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.38'
    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.38'
end

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


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

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


package { 'faas-cli':
  ensure   => '0.16.38',
  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 21 Dec 2024.

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.38/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.38/faas-cli.exe

3.  Compare to Checksum:

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

    OR
    
    checksum32: A64AE1F9A7216E4E8027D05FF69F12F1B880BF259A7B8436BDECA31757D3605E
tools\faas-cli.exe
md5: 6D17AEFDAB9995032825BA8BD295B082 | sha1: B44BBBD8A03A2122AAD073C9D54092628348F5F7 | sha256: A64AE1F9A7216E4E8027D05FF69F12F1B880BF259A7B8436BDECA31757D3605E | sha512: C2482D0E80A27A277DB4D1DF273B13BCF156480F98CBC6FE58E0EA2BDDE79F66EA9A56DCBA8A133B32BB27FBC9C6CE425B6012894526FDBAA65FF2E2EA2A39BA

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.37 51 Friday, October 4, 2024 Approved
Official CLI for OpenFaaS 0.16.36 35 Thursday, September 26, 2024 Approved
Official CLI for OpenFaaS 0.16.34 53 Friday, August 9, 2024 Approved
Official CLI for OpenFaaS 0.16.32 28 Tuesday, August 6, 2024 Approved
Official CLI for OpenFaaS 0.16.31 33 Saturday, July 27, 2024 Approved
Official CLI for OpenFaaS 0.16.30 47 Thursday, June 20, 2024 Approved
Official CLI for OpenFaaS 0.16.29 33 Monday, June 10, 2024 Approved
Official CLI for OpenFaaS 0.16.27 53 Friday, May 10, 2024 Approved
Official CLI for OpenFaaS 0.16.26 54 Tuesday, April 16, 2024 Approved
Official CLI for OpenFaaS 0.16.25 46 Friday, April 12, 2024 Approved
Official CLI for OpenFaaS 0.16.23 80 Saturday, January 27, 2024 Approved
Official CLI for OpenFaaS 0.16.22 37 Friday, January 26, 2024 Approved
Official CLI for OpenFaaS 0.16.21 72 Thursday, November 30, 2023 Approved
Official CLI for OpenFaaS 0.16.18 60 Tuesday, November 21, 2023 Approved
Official CLI for OpenFaaS 0.16.17 76 Wednesday, October 18, 2023 Approved
Official CLI for OpenFaaS 0.16.16 64 Thursday, October 5, 2023 Approved
Official CLI for OpenFaaS 0.16.14 70 Saturday, September 16, 2023 Approved
Official CLI for OpenFaaS 0.16.13 75 Saturday, August 26, 2023 Approved
Official CLI for OpenFaaS 0.16.12 97 Friday, July 7, 2023 Approved
Official CLI for OpenFaaS 0.16.11 56 Thursday, July 6, 2023 Approved
Official CLI for OpenFaaS 0.16.10 63 Saturday, July 1, 2023 Approved
Official CLI for OpenFaaS 0.16.9 54 Friday, June 30, 2023 Approved
Official CLI for OpenFaaS 0.16.7 88 Wednesday, June 7, 2023 Approved
Official CLI for OpenFaaS 0.16.5 68 Friday, June 2, 2023 Approved
Official CLI for OpenFaaS 0.16.4 93 Thursday, May 18, 2023 Approved
Official CLI for OpenFaaS 0.16.3 125 Wednesday, April 5, 2023 Approved
Official CLI for OpenFaaS 0.16.2 80 Friday, March 24, 2023 Approved
Official CLI for OpenFaaS 0.16.1 88 Tuesday, March 14, 2023 Approved
Official CLI for OpenFaaS 0.16.0 94 Friday, February 24, 2023 Approved
Official CLI for OpenFaaS 0.15.9 65 Thursday, February 16, 2023 Approved
Official CLI for OpenFaaS 0.15.8 72 Friday, February 10, 2023 Approved
Official CLI for OpenFaaS 0.15.7 64 Wednesday, February 8, 2023 Approved
Official CLI for OpenFaaS 0.15.6 79 Friday, January 20, 2023 Approved
Official CLI for OpenFaaS 0.15.4 115 Friday, November 11, 2022 Approved
Official CLI for OpenFaaS 0.15.2 70 Thursday, November 3, 2022 Approved
Official CLI for OpenFaaS 0.14.11 100 Friday, October 28, 2022 Approved
Official CLI for OpenFaaS 0.14.6 138 Tuesday, August 23, 2022 Approved
Official CLI for OpenFaaS 0.14.5 93 Tuesday, August 9, 2022 Approved
Official CLI for OpenFaaS 0.14.2 364 Thursday, February 3, 2022 Approved
Official CLI for OpenFaaS 0.14.1 158 Saturday, December 4, 2021 Approved
Official CLI for OpenFaaS 0.13.15 125 Friday, November 5, 2021 Approved
Official CLI for OpenFaaS 0.13.13 217 Thursday, June 17, 2021 Approved
Official CLI for OpenFaaS 0.13.11 150 Friday, June 4, 2021 Approved
Official CLI for OpenFaaS 0.13.9 201 Thursday, March 11, 2021 Approved
Official CLI for OpenFaaS 0.13.6 141 Tuesday, February 23, 2021 Approved
Official CLI for OpenFaaS 0.13.5 107 Friday, February 19, 2021 Approved
Official CLI for OpenFaaS 0.13.4 131 Monday, February 15, 2021 Approved
Official CLI for OpenFaaS 0.13.2 137 Tuesday, February 9, 2021 Approved
Official CLI for OpenFaaS 0.13.0 115 Saturday, February 6, 2021 Approved
Official CLI for OpenFaaS 0.12.21 204 Tuesday, December 15, 2020 Approved
Official CLI for OpenFaaS 0.12.20 132 Saturday, December 12, 2020 Approved
Official CLI for OpenFaaS 0.12.19 166 Friday, November 20, 2020 Approved
Official CLI for OpenFaaS 0.12.18 131 Thursday, November 19, 2020 Approved
Official CLI for OpenFaaS 0.12.14 210 Friday, October 9, 2020 Approved
Official CLI for OpenFaaS 0.12.13 182 Thursday, September 17, 2020 Approved
Official CLI for OpenFaaS 0.12.9 188 Tuesday, August 25, 2020 Approved
Official CLI for OpenFaaS 0.12.8 301 Thursday, July 2, 2020 Approved
Official CLI for OpenFaaS 0.12.6 163 Tuesday, June 30, 2020 Approved
Official CLI for OpenFaaS 0.12.4 261 Saturday, May 2, 2020 Approved
Official CLI for OpenFaaS 0.12.3 195 Friday, April 24, 2020 Approved
Official CLI for OpenFaaS 0.12.2 267 Wednesday, March 25, 2020 Approved
Official CLI for OpenFaaS 0.12.1 180 Friday, March 20, 2020 Approved
Official CLI for OpenFaaS 0.11.8 237 Monday, February 24, 2020 Approved
Official CLI for OpenFaaS 0.11.7 228 Saturday, January 25, 2020 Approved
Official CLI for OpenFaaS 0.11.6 200 Saturday, January 18, 2020 Approved
Official CLI for OpenFaaS 0.11.5 196 Thursday, January 16, 2020 Approved
Official CLI for OpenFaaS 0.11.3 223 Wednesday, December 18, 2019 Approved
Official CLI for OpenFaaS 0.11.2 193 Monday, December 16, 2019 Approved
Official CLI for OpenFaaS 0.11.1 179 Wednesday, December 11, 2019 Approved
Official CLI for OpenFaaS 0.11.0 235 Monday, December 2, 2019 Approved
Official CLI for OpenFaaS 0.10.5 200 Thursday, November 28, 2019 Approved
Official CLI for OpenFaaS 0.10.3 233 Friday, November 8, 2019 Approved
Official CLI for OpenFaaS 0.10.1 175 Tuesday, November 5, 2019 Approved
Official CLI for OpenFaaS 0.9.5 226 Monday, October 21, 2019 Approved
Official CLI for OpenFaaS 0.9.4 216 Thursday, October 17, 2019 Approved
Official CLI for OpenFaaS 0.9.3 218 Monday, September 30, 2019 Approved
Official CLI for OpenFaaS 0.9.2 317 Tuesday, August 20, 2019 Approved
Official CLI for OpenFaaS 0.9.1 206 Friday, August 16, 2019 Approved
Official CLI for OpenFaaS 0.9.0 211 Tuesday, August 6, 2019 Approved
Official CLI for OpenFaaS 0.8.23 236 Friday, August 2, 2019 Approved
Official CLI for OpenFaaS 0.8.22 457 Thursday, July 18, 2019 Approved
Official CLI for OpenFaaS 0.8.21 204 Tuesday, July 9, 2019 Approved
Official CLI for the OpenFaaS Serverless framework 0.5.0 851 Tuesday, November 14, 2017 Approved
Official CLI for the OpenFaaS Serverless framework 0.4.20.20171029 371 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