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,644

Downloads of v 0.16.30:

46

Last Update:

20 Jun 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

This is not the latest version of Official CLI for OpenFaaS available.

  • 1
  • 2
  • 3

0.16.30 | Updated: 20 Jun 2024

Downloads:

12,644

Downloads of v 0.16.30:

46

Maintainer(s):

Software Author(s):

  • Alex Ellis

Official CLI for OpenFaaS 0.16.30

This is not the latest version of Official CLI for OpenFaaS available.

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'" --version="'0.16.30'" [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'" --version="'0.16.30'" 
$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.30'
    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.30'
end

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


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

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


package { 'faas-cli':
  ensure   => '0.16.30',
  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 24 Jul 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.30/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.30/faas-cli.exe

3.  Compare to Checksum:

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

    OR
    
    checksum32: 3B3CE39AFA5EAD7AD6E1D5EB6B0D38A4955C2B6945C26FC8A6E9F5E74E861613
tools\faas-cli.exe
md5: D4EAEF6FC4A2BD66F6D6C2D0EB336515 | sha1: 749E773312EF7DAE6DDCDF58CDAE2CBA72391D11 | sha256: 3B3CE39AFA5EAD7AD6E1D5EB6B0D38A4955C2B6945C26FC8A6E9F5E74E861613 | sha512: 2FCFBF4C9762B06B68F055FC7C4F2F22A8D477DC8CCA1394BD842C84D8EBBA0865B1E1EEA4A02CC6C095285E062723B2479A65026BC1E9F03900E0F1A4D7B3A4

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.36 28 Thursday, September 26, 2024 Approved
Official CLI for OpenFaaS 0.16.34 51 Friday, August 9, 2024 Approved
Official CLI for OpenFaaS 0.16.32 23 Tuesday, August 6, 2024 Approved
Official CLI for OpenFaaS 0.16.31 29 Saturday, July 27, 2024 Approved
Official CLI for OpenFaaS 0.16.30 46 Thursday, June 20, 2024 Approved
Official CLI for OpenFaaS 0.16.29 31 Monday, June 10, 2024 Approved
Official CLI for OpenFaaS 0.16.27 48 Friday, May 10, 2024 Approved
Official CLI for OpenFaaS 0.16.26 50 Tuesday, April 16, 2024 Approved
Official CLI for OpenFaaS 0.16.25 45 Friday, April 12, 2024 Approved
Official CLI for OpenFaaS 0.16.23 76 Saturday, January 27, 2024 Approved
Official CLI for OpenFaaS 0.16.22 36 Friday, January 26, 2024 Approved
Official CLI for OpenFaaS 0.16.21 66 Thursday, November 30, 2023 Approved
Official CLI for OpenFaaS 0.16.18 56 Tuesday, November 21, 2023 Approved
Official CLI for OpenFaaS 0.16.17 72 Wednesday, October 18, 2023 Approved
Official CLI for OpenFaaS 0.16.16 63 Thursday, October 5, 2023 Approved
Official CLI for OpenFaaS 0.16.14 64 Saturday, September 16, 2023 Approved
Official CLI for OpenFaaS 0.16.13 74 Saturday, August 26, 2023 Approved
Official CLI for OpenFaaS 0.16.12 92 Friday, July 7, 2023 Approved
Official CLI for OpenFaaS 0.16.11 55 Thursday, July 6, 2023 Approved
Official CLI for OpenFaaS 0.16.10 61 Saturday, July 1, 2023 Approved
Official CLI for OpenFaaS 0.16.9 50 Friday, June 30, 2023 Approved
Official CLI for OpenFaaS 0.16.7 86 Wednesday, June 7, 2023 Approved
Official CLI for OpenFaaS 0.16.5 64 Friday, June 2, 2023 Approved
Official CLI for OpenFaaS 0.16.4 89 Thursday, May 18, 2023 Approved
Official CLI for OpenFaaS 0.16.3 124 Wednesday, April 5, 2023 Approved
Official CLI for OpenFaaS 0.16.2 76 Friday, March 24, 2023 Approved
Official CLI for OpenFaaS 0.16.1 87 Tuesday, March 14, 2023 Approved
Official CLI for OpenFaaS 0.16.0 89 Friday, February 24, 2023 Approved
Official CLI for OpenFaaS 0.15.9 59 Thursday, February 16, 2023 Approved
Official CLI for OpenFaaS 0.15.8 68 Friday, February 10, 2023 Approved
Official CLI for OpenFaaS 0.15.7 59 Wednesday, February 8, 2023 Approved
Official CLI for OpenFaaS 0.15.6 71 Friday, January 20, 2023 Approved
Official CLI for OpenFaaS 0.15.4 111 Friday, November 11, 2022 Approved
Official CLI for OpenFaaS 0.15.2 66 Thursday, November 3, 2022 Approved
Official CLI for OpenFaaS 0.14.11 94 Friday, October 28, 2022 Approved
Official CLI for OpenFaaS 0.14.6 136 Tuesday, August 23, 2022 Approved
Official CLI for OpenFaaS 0.14.5 89 Tuesday, August 9, 2022 Approved
Official CLI for OpenFaaS 0.14.2 359 Thursday, February 3, 2022 Approved
Official CLI for OpenFaaS 0.14.1 154 Saturday, December 4, 2021 Approved
Official CLI for OpenFaaS 0.13.15 124 Friday, November 5, 2021 Approved
Official CLI for OpenFaaS 0.13.13 214 Thursday, June 17, 2021 Approved
Official CLI for OpenFaaS 0.13.11 147 Friday, June 4, 2021 Approved
Official CLI for OpenFaaS 0.13.9 195 Thursday, March 11, 2021 Approved
Official CLI for OpenFaaS 0.13.6 137 Tuesday, February 23, 2021 Approved
Official CLI for OpenFaaS 0.13.5 106 Friday, February 19, 2021 Approved
Official CLI for OpenFaaS 0.13.4 127 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 202 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 162 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 207 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 184 Tuesday, August 25, 2020 Approved
Official CLI for OpenFaaS 0.12.8 299 Thursday, July 2, 2020 Approved
Official CLI for OpenFaaS 0.12.6 162 Tuesday, June 30, 2020 Approved
Official CLI for OpenFaaS 0.12.4 259 Saturday, May 2, 2020 Approved
Official CLI for OpenFaaS 0.12.3 191 Friday, April 24, 2020 Approved
Official CLI for OpenFaaS 0.12.2 263 Wednesday, March 25, 2020 Approved
Official CLI for OpenFaaS 0.12.1 179 Friday, March 20, 2020 Approved
Official CLI for OpenFaaS 0.11.8 236 Monday, February 24, 2020 Approved
Official CLI for OpenFaaS 0.11.7 225 Saturday, January 25, 2020 Approved
Official CLI for OpenFaaS 0.11.6 194 Saturday, January 18, 2020 Approved
Official CLI for OpenFaaS 0.11.5 187 Thursday, January 16, 2020 Approved
Official CLI for OpenFaaS 0.11.3 219 Wednesday, December 18, 2019 Approved
Official CLI for OpenFaaS 0.11.2 192 Monday, December 16, 2019 Approved
Official CLI for OpenFaaS 0.11.1 175 Wednesday, December 11, 2019 Approved
Official CLI for OpenFaaS 0.11.0 230 Monday, December 2, 2019 Approved
Official CLI for OpenFaaS 0.10.5 197 Thursday, November 28, 2019 Approved
Official CLI for OpenFaaS 0.10.3 230 Friday, November 8, 2019 Approved
Official CLI for OpenFaaS 0.10.1 170 Tuesday, November 5, 2019 Approved
Official CLI for OpenFaaS 0.9.5 220 Monday, October 21, 2019 Approved
Official CLI for OpenFaaS 0.9.4 211 Thursday, October 17, 2019 Approved
Official CLI for OpenFaaS 0.9.3 215 Monday, September 30, 2019 Approved
Official CLI for OpenFaaS 0.9.2 313 Tuesday, August 20, 2019 Approved
Official CLI for OpenFaaS 0.9.1 205 Friday, August 16, 2019 Approved
Official CLI for OpenFaaS 0.9.0 204 Tuesday, August 6, 2019 Approved
Official CLI for OpenFaaS 0.8.23 231 Friday, August 2, 2019 Approved
Official CLI for OpenFaaS 0.8.22 454 Thursday, July 18, 2019 Approved
Official CLI for OpenFaaS 0.8.21 201 Tuesday, July 9, 2019 Approved
Official CLI for the OpenFaaS Serverless framework 0.5.0 848 Tuesday, November 14, 2017 Approved
Official CLI for the OpenFaaS Serverless framework 0.4.20.20171029 367 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