🔢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:
Manually create copy components in the copy library
Step 2: Install the Developer CLI
Install the Developer CLI globally via NPM or Yarn:
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:
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:
Step 4: Pull content from Frontitude
To pull the latest content from your connected sources:
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!
Last updated