Skip to content

Instantly share code, notes, and snippets.

@bewest
Created June 10, 2015 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bewest/8670ba32cca23442422f to your computer and use it in GitHub Desktop.
Save bewest/8670ba32cca23442422f to your computer and use it in GitHub Desktop.
openaps example plugins adding
bewest@hither:~/Documents/foo$ openaps vendor add plugins openapscontrib.plugins
usage: openaps-vendor [-h] {add,remove,show} ...
openaps-vendor: error: unrecognized arguments: openapscontrib.plugins
bewest@hither:~/Documents/foo$ openaps vendor add  openapscontrib.plugins
added openapscontrib.plugins://
bewest@hither:~/Documents/foo$ openaps use 
agp        cgm        -h         my-agp     pump       
calciob    --format   --help     --output   --version  
bewest@hither:~/Documents/foo$ openaps device add -h
usage: openaps-device add [-h] name {dexcom,medtronic,process,agp,plugins} ...

add    - add a new device configuration

positional arguments:
  name

optional arguments:
  -h, --help            show this help message and exit

## VendorConfigurations:
  {dexcom,medtronic,process,agp,plugins}
                        Operation
    dexcom              Dexcom - openaps driver for dexcom
    medtronic           Medtronic - openaps driver for Medtronic
    process             process - a fake vendor to run arbitrary commands
    agp                 AGP - calculate agp values given some glucose text
    plugins             Plugins - Community maintained plugins to openaps
bewest@hither:~/Documents/foo$ openaps device add plugins plugins
added plugins://plugins
bewest@hither:~/Documents/foo$ openaps use plugins Example -h
usage: openaps-use plugins Example [-h] input

 Example use
  

positional arguments:
  input

optional arguments:
  -h, --help  show this help message and exit
bewest@hither:~/Documents/foo$ openaps use plugins Example glucose.txt 
glucose.txt
[]bewest@hither:~/Documents/foo$ 


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment