A development tool to create ForceManager Fragments.
Fragments are isolated parts of code embedded in ForceManager divided into 3 types: Widgets, Forms, and Pages.
- Create new Fragments.
- Start Fragments in development mode.
- Deploy fragments to sandbox enviroment.
With yarn (recommended):
yarn global add forcemanager-cli
With npm:
npm install -g forcemanager-cli
You can create new project o convert existing ones.
-
Go to the folder where you want to create the project.
-
fm create <new-project-name>
-
Follow the create assistant steps. A'Hello World' project will be created in the specified directory.
-
cd <new-project-name>
-
yarn
ornpm install
-
Go to the folder where you have the project.
-
fm create <existing-directory-project-name>
-
Follow the create assistant steps
Opens a web page with an iframe where your Fragment is going to be embedded.
-
yarn start
ornpm start
-
Configure Options and login with ForceManager Setup credentials.
Deploy the code of a Fragment
-
Go to the folder of the project you want to deploy.
-
yarn deploy
ornpm run deploy
-
Set GUID or other parameters if are not alredy set.
To learn how to setup a development environment and for contribution guidelines, see CONTRIBUTING.md.
We use GitHub releases.
This project is licensed under the terms of the MIT license.