0.23.1 • Published 2 years ago

@fstore/cli v0.23.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

FStore CLI tool

The FStore Command Line Interface (CLI) Tools can be used to manage and deploy your Cloud Functions projects(workspaces) from the command line.

Installation

You can install the FStore CLI using npm or yarn. To download and install the FStore CLI, run the following command:

// install using npm
# npm install -g @fstore/cli

// install using yarn
# yarn add --global @fstore/cli

Basic usage

You can see a list with all available commands by executing fstore --help. Also, you can see more detailed help for an individual command by typing fstore <command> --help.

To execute a command just type fstore <command> [options]. Below is a brief list of the available commands and their function:

CommandDescription
loginAuthenticate to your functions.store account. (Requires access to a web browser.)
logoutSign out of the function.store CLI.
createCreate a new workspace
pushPush a workspace to function.store
lintCheck workspace for errors
function:addCreate a new function in the specified workspace
emulators:installSetup firebase emulators in the specified workspace
emulators:startStart emulators in the specified workspace
generate\:functions\:entrypointGenerate index.js with functions entrypoint.
circleciSetup CircleCi in the specified workspace

If a command is workspace-specific, you must either be inside a workspace project directory or specify the path to it.

Command: login

Usage: fstore login [options]

The valid options for the command are:

  • -r or --reauth: Will force reauthentication even if you're already logged in.
  • -t \<token> or --token \<token>: Authenticate using the specified token

This command requires access to the default web browser

Command: create

Usage: fstore create <workspace name>

  • workspace name: A valid identifier for the workspace you want to create. It must be unique and contains only letters, numbers, and underscore.

Command: lint

Usage: fstore lint <workspace>

  • workspace: The path to the folder containing a valid workspace project. If not specified, it will use the current working directory.

Command: push

Usage: fstore push <workspace>

  • workspace: The path to the folder containing a valid workspace project. If not specified, it will use the current working directory.

Command: function:add

Usage: fstore function:add <workspace>

  • workspace: The path to the folder containing a valid workspace project. If not specified, it will use the current working directory.

Command: emulators:install

Usage: fstore emulators:install <workspace>

  • workspace: The path to the folder containing a valid workspace project. If not specified, it will use the current working directory.

Command: emulators:start

Usage: fstore emulators:start [options] <workspace>

  • workspace: The path to the folder containing a valid workspace project. If not specified, it will use the current working directory.

The valid options for the command are:

  • -p \<projectId> or --project \<projectId>: The id of the Firebase project to use with this command.
  • --only \<emulators>: Run only specific emulators. This is a comma separated list of emulator names. Valid options are: auth, functions, firestore, database, pubsub, and storage.

Command: generate\:functions\:entrypoint

Usage: fstore generate:functions:entrypoint <workspace>

  • workspace: The path to the folder containing a valid workspace project. If not specified, it will use the current working directory.

When your have emulators running for some workspace and you modify any function by changing its trigger, you don't have to stop emulators to get the modified function up and runnig. By executing generate:functions:entrypoint command, the indexes for all the functions will be recreated and hot-reloaded by emulators.

Command: circleci

Usage: fstore circleci <workspace>

  • workspace: The path to the folder containing a valid workspace project. If not specified, it will use the current working directory.
0.23.1-canary.0

2 years ago

0.22.3-canary.0

2 years ago

0.22.3-canary.1

2 years ago

0.22.3-canary.2

2 years ago

0.23.1

2 years ago

0.23.0

2 years ago

0.21.0

2 years ago

0.22.1-canary.0

2 years ago

0.22.2-canary.0

2 years ago

0.22.2

2 years ago

0.22.1

2 years ago

0.22.0

2 years ago

0.20.1-canary.0

2 years ago

0.21.1-canary.2

2 years ago

0.21.1-canary.1

2 years ago

0.21.1-canary.4

2 years ago

0.21.1-canary.3

2 years ago

0.21.1-canary.0

2 years ago

0.20.0

2 years ago

0.19.2-canary.6

2 years ago

0.19.2-canary.4

3 years ago

0.19.2-canary.5

3 years ago

0.19.2-canary.3

3 years ago

0.19.2-canary.2

3 years ago

0.19.2-canary.0

3 years ago

0.19.2-canary.1

3 years ago

0.18.1-canary.7

3 years ago

0.19.1-canary.2

3 years ago

0.19.0

3 years ago

0.19.1

3 years ago

0.18.1-canary.2

3 years ago

0.18.0

3 years ago

0.17.2

3 years ago

0.17.0

3 years ago

0.17.1

3 years ago

0.16.1-canary.0

3 years ago

0.15.1-canary.2

3 years ago

0.15.1-canary.5

3 years ago

0.15.1-canary.7

3 years ago

0.15.1-canary.6

3 years ago

0.15.1-canary.8

3 years ago

0.16.0

3 years ago

0.15.0

3 years ago

0.15.1-canary.0

3 years ago

0.14.5-canary.11

3 years ago

0.14.5-canary.13

3 years ago

0.14.5-canary.6

3 years ago

0.14.5-canary.5

3 years ago

0.14.5-canary.1

3 years ago

0.14.5-canary.4

3 years ago

0.14.5-canary.0

3 years ago

0.14.4

3 years ago

0.14.4-canary.0

3 years ago

0.14.4-canary.1

3 years ago

0.14.3-canary.0

3 years ago

0.13.1-canary.4

3 years ago

0.13.1-canary.1

3 years ago

0.13.1-canary.2

3 years ago

0.14.2-canary.0

3 years ago

0.13.1-canary.3

3 years ago

0.14.1

3 years ago

0.14.2

3 years ago

0.14.3

3 years ago

0.14.1-canary.0

3 years ago

0.13.1-canary.0

3 years ago

0.13.0

3 years ago

0.12.0

3 years ago

0.11.1

3 years ago

0.11.0

3 years ago

0.10.0

3 years ago

0.9.0

3 years ago

0.8.1

3 years ago

0.8.2

3 years ago

0.8.0

3 years ago

0.7.4-canary.1

3 years ago

0.7.4-canary.0

3 years ago

0.7.3-canary.0

3 years ago

0.7.3

3 years ago

0.5.1-canary.1

3 years ago

0.5.1-canary.0

3 years ago

0.1.2-canary.0

3 years ago

0.1.2-canary.1

3 years ago

0.1.2-canary.2

3 years ago

0.1.0

3 years ago

0.3.0

3 years ago

0.1.1

3 years ago

0.3.1-canary.0

3 years ago

0.7.2

3 years ago

0.7.1

3 years ago

0.5.0

3 years ago

0.7.0

3 years ago

0.6.4-canary.0

3 years ago

0.1.1-canary.3

3 years ago

0.1.1-canary.0

3 years ago

0.1.1-canary.2

3 years ago

0.1.1-canary.1

3 years ago

0.6.5-canary.5

3 years ago

0.6.5-canary.4

3 years ago

0.6.5-canary.3

3 years ago

0.6.5-canary.2

3 years ago

0.6.5-canary.1

3 years ago

0.6.5-canary.0

3 years ago

0.2.1-canary.0

3 years ago

1.2.1-canary.14

3 years ago

0.4.1-canary.0

3 years ago

0.4.1-canary.1

3 years ago

0.2.2-canary.0

3 years ago

0.2.2-canary.3

3 years ago

0.2.2-canary.1

3 years ago

0.2.1

3 years ago

0.2.2-canary.2

3 years ago

0.2.0

3 years ago

0.6.3-canary.0

3 years ago

0.6.3

3 years ago

0.4.1-canary.2

3 years ago

0.6.2

3 years ago

0.4.1-canary.3

3 years ago

0.4.1-canary.4

3 years ago

0.6.4

3 years ago

0.4.1-canary.5

3 years ago

0.4.1-canary.6

3 years ago

0.4.1-canary.7

3 years ago

0.4.0

3 years ago

0.6.1

3 years ago

0.4.1-canary.8

3 years ago

0.6.0

3 years ago

0.0.1

3 years ago