Bodycomposition is a program to manage your body measurements and composition stored in Garmin Connect Cloud (https://connect.garmin.com) from your beloved commandline.
For now, you can just add body composition values. Any other thing should be done in Garmin Connect.
Releases can be found in release tab.
Uploading weight to Garmin connect. If you do not provide a password (--password
), it will be prompted from stdin.
$ ./bodycomposition upload --weight 80 --bone 14 --fat 13 --hydration 58 --muscle 42 --email john.doe@mail.com
General usage
$ ./bodycomposition -h
Bodycomposition is a program to manage your body measurements and composition stored in
Garmin Connect Cloud (https://connect.garmin.com) from your beloved commandline.
For now, you can just add body composition values. Any other thing should be done in Garmin Connect.
Version v2.0.0
Usage:
bodycomposition [command]
Available Commands:
help Help about any command
upload Upload your body composition values to Garmin Connect
Flags:
-h, --help help for bodycomposition
Use "bodycomposition [command] --help" for more information about a command.
$ ./bodycomposition upload -h
Upload your body composition values to Garmin Connect
Usage:
bodycomposition upload [flags]
Aliases:
upload, u, add
Flags:
--bmi float Set your BMI - body mass index
-b, --bone float Set your bone mass in percent
--bone-mass float Set your bone mass in kilograms (use --bone or --bone-mass)
-c, --calories float Set your caloric intake
-e, --email string Email of the Garmin account
-f, --fat float Set your fat in percent
-h, --help help for upload
--hydration float Set your hydration in percent
--metabolic-age float Set your metabolic age
-m, --muscle float Set your muscle mass in percent
--muscle-mass float Set your muscle mass in kilograms (use -muscle or --muscle-mass)
-p, --password string Password of the Garmin account
--physique-rating float Set your physique rating (valid values: 1-9)
-t, --unix-timestamp int Set the timestamp of the measurement (default -1)
--visceral-fat float Set your visceral fat rating (valid values: 1-60)
-w, --weight float Set your weight in kilograms (default -1)