push

Name

cb-cli push - Send the local development versions of assets back to the ClearBlade platform system

Synopsis

cb-cli push 
	[-all-services]
	[-all-libraries]
	[-all-edges]
	[-all-devices]
	[-all-portals]
	[-all-plugins]
	[-all-adapters]
	[-userschema] 
	[-edgeschema] 
	[-deviceschema] 
	[-service=<SERVICE_NAME>]
	[-library=<LIBRARY_NAME>]
	[-collection=<COLLECTION_NAME>] 
	[-user=<EMAIL>]
	[-role=<ROLE_NAME>]
	[-trigger=<TRIGGER_NAME>]
	[-timer=<TIMER_NAME>]
	[-edge=<EDGE_NAME>]
	[-device=<DEVICE_NAME>]
	[-portal=<PORTAL_NAME>]
	[-plugin=<PLUGIN_NAME>]
	[-adapter=<ADAPTER_NAME>]

Description

The push command allows you upload changes to local copies of ClearBlade objects back out the the remote ClearBlade system. Obviously, it is the opposite of the pull command. Again, it has the same options as the diff and pull commands.

Note

You can combine these options on a single command line just like with diff and pull

Options ##

  • all-services
    Pushes all the services stored in a local repo

  • all-libraries
    Pushes all of the libraries stored in a local repo

  • all-edges
    Pushes all of the edges stored in a local repo

  • all-devices
    Pushes all of the devices stored in a local repo

  • all-portals
    Pushes all of the portals stored in a local repo

  • all-plugins
    Pushes all of the plugins stored in a local repo

  • all-adapters
    Pushes all of the adapters stored in a local repo. Includes adapter metadata as well as all files associated with each adapter.

  • userschema
    Pushes the local version of the users table schema to a remote ClearBlade system.

  • edgeschema
    Pushes the local version of the edge table schema to a remote ClearBlade system.

  • deviceschema
    Pushes the local version of the device table schema to a remote ClearBlade system.

  • service=< service_name >
    Pushes the local version of a specific service to a remote ClearBlade system.

  • library=< library_name >
    Pushes the local version of a specific library to a remote ClearBlade system.

  • collection=< collection_name >
    Pushes the local version of a specific collections’ meta-data to a remote ClearBlade system.

  • user=< email >
    Pushes the local version of the user record to a remote ClearBlade system. Also Pushes the roles assigned to a user.

  • role=< role_name >
    Pushes all the capability details of the specific role to a remote ClearBlade system.

  • trigger=< trigger_name >
    Pushes the local version of a specific trigger to a remote ClearBlade system.

  • timer=< timer_name >
    Pushes the local version of a specific timer to a remote ClearBlade system.

  • edge=< edge_name >
    Pushes the local version of a specific edge to a remote ClearBlade system.

  • device=< device_name >
    Pushes the local version of a specific device to a remote ClearBlade system.

  • portal=< portal_name >
    Pushes the local version of a specific portal to a remote ClearBlade system.

  • plugin=< plugin-name >
    Pushes the local version of a specific plugin to a remote ClearBlade system.

  • adapter=< adapter-name >
    Pushes the local version of a specific adapter to a remote ClearBlade system. Includes the adapter metadata as well as the files associated with the adapter.

Examples

cb-cli push

cb-cli push -all-services

cb-cli push -collection=MyCollection