flow-cli

module
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: Apache-2.0

README

Flow CLI

The Flow CLI is a command-line interface that provides useful utilities for building Flow applications.

Installation

The Flow CLI can be installed in one of three ways:

macOS
Homebrew
brew install flow-cli
From a pre-built binary

This installation method only works on x86-64.

This script downloads and installs the appropriate binary for your system:

sh -ci "$(curl -fsSL https://storage.googleapis.com/flow-cli/install.sh)"

To update, simply re-run the installation command above.

Linux
From a pre-built binary

This installation method only works on x86-64.

This script downloads and installs the appropriate binary for your system:

sh -ci "$(curl -fsSL https://storage.googleapis.com/flow-cli/install.sh)"

To update, simply re-run the installation command above.

Windows
From a pre-built binary

This installation method only works on Windows 10, 8.1, or 7 (SP1, with PowerShell 3.0), on x86-64.

  1. Open PowerShell (Instructions)

  2. In PowerShell, run:

    iex "& { $(irm 'https://storage.googleapis.com/flow-cli/install.ps1') }"
    

To update, simply re-run the installation command above.

Development

Releasing
  • Tag a new release and push it
  • Build the binaries: make versioned-binaries
  • Upload the binaries: make publish
  • Update the Homebrew formula: e.g. brew bump-formula-pr flow-cli --version=0.12.3

To make the new version the default version that is installed

  • Change version.txt and commit it
  • Upload the version file: gsutil cp version.txt gs://flow-cli

Directories

Path Synopsis
Package build contains information about the build that injected at build-time.
Package build contains information about the build that injected at build-time.
cmd
flow
Package main implements the entry point for the Flow CLI.
Package main implements the entry point for the Flow CLI.
Package cli defines constants, configurations, and utilities that are used across the Flow CLI.
Package cli defines constants, configurations, and utilities that are used across the Flow CLI.
flowkit module
pkg
flowkit Module

Jump to

Keyboard shortcuts

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