Giter Club home page Giter Club logo

svix-cli's People

Contributors

codepope avatar fcjr avatar jaymell avatar svix-andor avatar svix-daniel avatar svix-frank avatar svix-jplatte avatar svix-liam avatar svix-lucho avatar svix-onelson avatar tasn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

svix-cli's Issues

auto-reconnect to webhook relay

Sometimes I get a connection error from the CLI:

Failed to connect to Webhook Relay:
dial tcp: lookup [api.relay.svix.com](http://api.relay.svix.com/) on [::1]:53: read udp [::1]:53254->[::1]:53: read: connection refused

Ideally, it gracefully reconnects and I'm right back to receiving webhooks.

Right now, it crashes and I have to manually restart it.

`svix application update` doesn't work

% svix application update test '{
      "name": "Rock Inc.",
      "uid": "test"
    }'
Error: `svix application update` accepts between 0 and 1 arg(s), received 2. Run `svix application update --help` for usage information.

The arg count is wrong.

Add serverUrl to login command

Description

When generating an App Portal Url an accessToken and a serverUrl are required to be set. Performing the command below without setting the serverUrl results in a 401 response.

$ svix authentication dashboard "appId"
{
"code": "authentication_failed",
"detail": "Invalid token. Have you set the correct server URL?"
}

Current

Running svix login command queries for token and adds/sets it to the config.toml. It does not ask for a serverUrl. server_url can however be set manually within config.toml

Proposal

  • Update docs to include
    export SVIX_SERVER_URL='THE_SERVER_URL'

  • Enhance svix login to ask for optional serverUrl. Whether provided or not, server_url within the config.toml should also be set.

See Slack conversation for reference

[0.2] Print the error message when a non `2xx` response is returned

Run

svix application create --data-name "Test Application" --data-uid "test"
# And again
svix application create --data-name "Test Application" --data-uid "test"

The second one will fail with a 409. We should print the json response (pretty-print). Now we just print nothing.

Can't get latest update through Scoop on Windows

Hey ya'll,

This sounds like it might fix a bug I'm seeing in the 0.17.0 client: #81

However, I can't seem to access that version through Scoop - is there some missing step from the release process?

scoop status svix
Scoop is up to date.
Everything is ok!
scoop update svix
svix: 0.17.0 (latest version)
Latest versions for all apps are installed! For more information try 'scoop status'

Thanks ๐Ÿ™‚

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.