Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to specify report_id and token on command line #70

Closed
timburke opened this issue Oct 23, 2018 · 0 comments
Closed

Add ability to specify report_id and token on command line #70

timburke opened this issue Oct 23, 2018 · 0 comments
Assignees

Comments

@timburke
Copy link
Member

timburke commented Oct 23, 2018

This is necessary hosted invocation of analytics-host when the report record has already been generated and we just want to generate and upload the files that go along with it with a given user's token.

@timburke timburke self-assigned this Oct 23, 2018
@timburke timburke changed the title Add ability to specify report_id on command line Add ability to specify report_id and token on command line Oct 23, 2018
timburke added a commit that referenced this issue Oct 23, 2018
analytics-host now supports two more command line flags:
--token=TOKEN
--web-push-id=REPORT_ID

If --token is specified, it will immediately set the token
for CloudSession instead of prompting for a password.

If --web-push-id is specified then when uploading a report
to iotile cloud, the files will be attached to that existing
report id, rather than creating a new report id.

Closes #70
timburke added a commit that referenced this issue Oct 23, 2018
analytics-host now supports two more command line flags:
--token=TOKEN
--web-push-id=REPORT_ID

If --token is specified, it will immediately set the token
for CloudSession instead of prompting for a password.

If --web-push-id is specified then when uploading a report
to iotile cloud, the files will be attached to that existing
report id, rather than creating a new report id.

Closes #70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant