# Run command to install the spacer-cli globally
yarn global add spacer-cli
Development
yarn publish
Commands
# 1. Go to the folder of the application you want to use# 2. Log in to your account
spacer-cli login
example: spacer-cli login
Email: test@gmail.com
Password: Test123
# 3. Select your space
spacer-cli select-space
# Or select a specific space by spaceId
spacer-cli select-space <:id>
example: select-space 6422d0f688eab640553c5555
# 3. Init command:# This command will initialize spcer config json file in your app
spacer-cli init
example: spacer-cli init
spacer-config.json ex:
{
"name":"Test",
"version":"1.0.0",
"buildPath": "build""type":"react",
"description":""
}
# 4. Build command# This command will build the project
spacer-cli init
example: spacer-cli pack
buildFiles directory is created with the specified archive!
# 5. Deploy command# This command will deploy the project
spacer-cli deploy
example: spacer-cli deploy