Skip to content

Allow to send notification from the command line #1

Description

@halfdan

This Gem is bundled with an instapush binary. This binary should allow the user to send notifications from the command line.

Examples

Sending an event and passing key/secret directly to the binary:

$ instapush --key api_key --secret api_secret event_name "json-string"

Sending an event and using .instapush.yml:

$ instapush --app test event_name "json-string"

The second approach will allow the user to store app configurations in a config file. This way it's not needed to pass the key and secret over the command line and potentially leak information.

Config

applications:
  - name: my-app
    key: my-key
    secret: my-secret
  - name: my-other-app
    key: my-other-key
    secret: my-other-secret

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions