Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

geotab-rx examples

Example sub-project is a single CLI app with multiple sub commands. Help docs can be displayed by running yarn start --help.

Displays whether or not the current user is assigned to vehicle.

$ yarn start amIAssignedToVehicle -u $GEOTAB_USERNAME -p $GEOTAB_PASSWORD --licensePlate $LICENSE_PLATE

> Someone else is assigned to device '...'
or
> No-one is assigned to device '...'
or
> You are assigned to device '...'

Displays first 100 drivers in database.

$ yarn start log100Drivers -u $GEOTAB_USERNAME -p $GEOTAB_PASSWORD

> Found driver '...'
> Found driver '...'
> Found driver '...'