@nativeblocks/cli
v1.2.0
Published
Nativeblocks CLI
Downloads
100
Keywords
Readme
Nativeblocks CLI
Installation
npm install -g @nativeblocks/cli
Or
yarn global add @nativeblocks/cli
Updating
npm update -g @nativeblocks/cli --latest
Or
yarn global upgrade @nativeblocks/cli --latest
You can always find all command by help command
nativeblocks help
Features
- Region
- Auth
- Integration
Region
Set a region
- -u, --url, Set api region url
nativeblocks region set "https://api.example.com"
Get the region
nativeblocks region get
Auth
Auth with username and password
- -u, --username, username
- -p, --password, password
nativeblocks auth --username "[email protected]" --password "foobar1234"
nativeblocks auth -u "[email protected]" -p "foobar1234"
Organization
Set organization id
- -u, --url, Set organization id
nativeblocks organization set "1111-1111-1111-1111"
Get organization id
nativeblocks region get
Organization list
nativeblocks organization list
Integration
Integration list
- -p, --platform, Platform of integration, ANDROID, IOS, REACT
- -k, --kind, Kind of integration, BLOCK, ACTION, LOGGER or ALL
nativeblocks integration list -p "REACT" -k "ALL"
Integration add
nativeblocks integration add
Integration detail
- -id, --integrationId, Integration id
- -d, --directory, Integration working directory
nativeblocks integration -id "2222-2222-2222-2222"
Integration sync (update)
- -id, --integrationId, Integration id
- -d, --directory, Integration working directory
nativeblocks integration sync -id "2222-2222-2222-2222" -d "/Users/sample/projects/awesome_project/integrations/button"
Integration properties
- -id, --integrationId, Integration id
- -d, --directory, Integration working directory
nativeblocks integration properties -id "2222-2222-2222-2222" -d "/Users/sample/projects/awesome_project/integrations/button"
Integration properties sync (update)
- -id, --integrationId, Integration id
- -d, --directory, Integration working directory
nativeblocks integration properties sync -id "2222-2222-2222-2222" -d "/Users/sample/projects/awesome_project/integrations/button"
Integration events
- -id, --integrationId, Integration id
- -d, --directory, Integration working directory
nativeblocks integration events -id "2222-2222-2222-2222" -d "/Users/sample/projects/awesome_project/integrations/button"
Integration events sync (update)
- -id, --integrationId, Integration id
- -d, --directory, Integration working directory
nativeblocks integration events sync -id "2222-2222-2222-2222" -d "/Users/sample/projects/awesome_project/integrations/button"
Integration data
- -id, --integrationId, Integration id
- -d, --directory, Integration working directory
nativeblocks integration data -id "2222-2222-2222-2222" -d "/Users/sample/projects/awesome_project/integrations/button"
Integration data sync (update)
- -id, --integrationId, Integration id
- -d, --directory, Integration working directory
nativeblocks integration data sync -id "2222-2222-2222-2222" -d "/Users/sample/projects/awesome_project/integrations/button"
Integration slots
- -id, --integrationId, Integration id
- -d, --directory, Integration working directory
nativeblocks integration slots -id "2222-2222-2222-2222" -d "/Users/sample/projects/awesome_project/integrations/button"
Integration slots sync (update)
- -id, --integrationId, Integration id
- -d, --directory, Integration working directory
nativeblocks integration slots sync -id "2222-2222-2222-2222" -d "/Users/sample/projects/awesome_project/integrations/button"