Frontitude Developer Docs
FrontitudeGuidesWhat's new
  • 👋Hello, developer
  • 🔢Quick start
  • Deverloper CLI
    • Installation
    • Authentication
    • Commands
    • Example app
    • Supported client-side frameworks
    • File formats
      • Web (.json)
      • XLIFF (.xliff)
      • Android XML (.xml)
      • Apple Strings (.strings)
      • Flutter (.arb)
      • Gettext (.po, .pot)
  • Webhooks
    • Introduction
    • Setting up Webhooks
    • Using Webhooks
    • Events
    • Example webhook handler
  • Security and Compliance
    • Security statement
    • Data collection statement
  • Useful links
    • Demo React app
    • Figma plugin
    • Frontitude guides
    • Product updates
Powered by GitBook
On this page
  • Step 1: Import content to Frontitude
  • Step 2: Install the Developer CLI
  • Step 3: Get access to Frontitude
  • Sign-in with your browser
  • Use access token
  • Step 4: Initialize the Developer CLI
  • Step 4: Pull content from Frontitude
  • That's it!

Was this helpful?

Quick start

Frontitude's Developer CLI can be installed and tested on our Starter plan, which is completely free!

Step 1: Import content to Frontitude

First, we need to have content in Frontitude in order to fetch it. This can be done in different ways:

  • Import content from JSON files

  • Import content from design tools

  • Manually create copy components in the copy library

Step 2: Install the Developer CLI

Install the Developer CLI globally via NPM or Yarn:

npm install -g @frontitude/cli
yarn global add @frontitude/cli

Step 3: Get access to Frontitude

Make sure the Developer CLI integration is turned on in your workspace settings.

To get access to the content stored in Frontitude, you can choose between these options:

Sign-in with your browser

To initiate the authentication process:

$ frontitude login

Once sign-in has completed, you'll have access to fetch content from your workspace.

If you're doing this as part of a team, make sure that you're connected to the right workspace by getting invited to your team's workspace.

Use access token

Create an access token to use it in the next step. This is more flexible since it allows you to use the Developer CLI on remote systems such as CI/CD pipelines or any kind of Bash scripts.

Step 4: Initialize the Developer CLI

To initialize the CLI, run the next command and follow the instructions:

$ frontitude init

Step 4: Pull content from Frontitude

To pull the latest content from your connected sources:

$ frontitude pull

This will fetch all of your content from the library/project into your codebase. To learn about the additional options of this command, please refer to this section.

That's it!

Now that you have closed a circle, you can learn about the advanced options that are included in this documentation center. Happy coding!

PreviousHello, developerNextInstallation

Last updated 8 months ago

Was this helpful?

🔢