flow-cli

module
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2020 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:

Homebrew

MacOS users can install the Flow CLI with Homebrew:

brew tap dapperlabs/tap
brew install flow-cli
From a pre-built binary
Linux and macOS

This installation method only works on macOS/x86-64 and Linux/x86-64 architectures.

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

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

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') }"
    
Upgrading an existing installation

Simply re-run the installation commands above.

From source

This installation method works on any system with Go >1.13 installed.

GO111MODULE=on go get github.com/onflow/flow-cli/cmd/flow

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