cli

command module
v0.0.0-...-706a057 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

README

Fn CLI

CircleCI

Install

brew install fn

or

curl -LSs https://raw.githubusercontent.com/fnproject/cli/master/install | sh

Build from source

See CONTRIBUTING for instructions to build the CLI from source.

Quickstart

See the Fn Quickstart for sample commands.

Announcement

The Fn CLI command structure has changed as of version 0.4.109

Please refer to the Fn CLI Wiki page for information on why we chose this structure and for more details.

Commands that have not changed:
build
bump
call
deploy
init
push
run
test
start
stop
Commands that have changed:

These nouns are now second-level commands.

apps
calls
logs
context

These verbs are now top-level commands.

config
create
delete
get
inspect
list
unset
update
use
Commands that have been removed:
images 

As mention in CLI Proposal 'All subcommands of 'fn images' exist as top-level commands, this makes the use of images redundant and will be deprecated'

routes

Routes have been replaced by functions and triggers

Examples:
fn [verb] [noun] <subcommand>

fn config app <app-name> <key> <value>
fn create function <app-name> <function> <image>
fn delete function <app-name> <function>
fn get log <app-name> <call-id>
fn inspect function <app-name> <function>
fn list calls
fn unset config app <app-name> <key>
fn update function <app-name> <function>
fn use conetxt <context>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
objects
app
fn
log
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL