Command Reference
Installation
note
You must have the necessary access permissions to JCPLibraries, including read access to the repository and authentication via a valid Personal Access Token (PAT)
curl -s -u :<YOUR_PAT> "https://dev.azure.com/GoFynd/JCPLibraries/_apis/git/repositories/fdk-cli/items?path=/scripts/remoteInstall.sh&versionDescriptor.versionType=branch&versionDescriptor.version=master&api-version=7.1-preview.1" 2>&1 | sh
Basic Commands
To help you get started with a few basic commandes, enter:
fdk --help
To see the available theme commands, enter:
fdk theme
See the Command overview for a listing of all available commands, or the Command reference for syntax details and usage examples of the commands.
All FDK CLI commands start with fdk. The general syntax a command is:
fdk [module] [method] [options]
This command can be broken down as follows:
Syntax | Example |
---|---|
module | theme |
method | init |
options | --email email@gmail.com |
⚠️ Deprecation Warning:
The fdk env
command is deprecated and should no longer be used to set environment variables.
Details:
- Deprecated Command:
fdk env
- Replacement of setting env Command:
fdk login --host partners.fynd.com
- Effective Date: 12th Aug, 2024
- Reason: The functionality of setting the environment can be more effectively managed within the login command based on the use case.