0.1.3 • Published 12 months ago

@frontio/cli v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

A design system creation platform that allows you to create, manage, document, share, and collaborate on design systems.

Quick Start

Note: Frontio CLI requires Node.js 18.17.x+ or later

You can choose the following ways to start the Frontio CLI.

Npx

npx frontio@latest

Global Installation

npm install -g frontio

Usage

Frontio CLI v0.0.17

Usage: frontio [command]

Options:
  -v, --version     Output the current version
  -h, --help        Display help for command

Commands:
  init [options]    Initializes a personal access token
  pull [options]    Pull the tokens and export them to the local file
  switch [options]  Switch the workspace or project
  disconnect        Disconnect the current PAT

Init

Initialize the Frontio CLI with your personal access token.

frontio init

Init Options

  • -p --personal-access-token [string] Personal access token to authenticate with Frontio API.

Output:

? Enter your personal access token:
You can find this token by going to your account settings on: https://frontio.ai/dashboard ›

Pull

Pull the tokens and export them to the local file.

frontio pull

Pull Options

  • -o --output [string] Set the output file path
  • -w --watch Keep fetching the tokens and update the local file every 5 seconds (default: false)

Switch

Switch the workspace and project or only the project.

frontio switch

Switch Options

  • -p --project [boolean] Only switch project (default: false)

Updating CLI Globally

npm update -g frontio

Use cases

  • Pull the tokens from the Frontio API and export them to the local file.
  • List available workspaces and projects

Documentation

Soon

Community

We're excited to see the community adopt frontio CLI, raise issues, and provide feedback. Whether it's a feature request, bug report, or a project to showcase, please get involved!

License

MIT