Skip to content

[CLI] Add an option to disable version check #654

@madmatah

Description

@madmatah

Feature Request

Arnold CLI is executing a HTTP request to github each time it's executed, to retrieve the latest Arnold release.

This is not always a desired behavior because :

  • It can slow down bulk scripts that are using Arnold CLI
  • It can trigger Github's rate limiter

In this latter case, arnold CLI fails with the following error :
jq: error (at <stdin>:1): Cannot index object with number

because Github is returning the following response :

{"message":"API rate limit exceeded for X.X.X.X. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

Describe the solution you'd like

An option to disable version checking in arnold CLI would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions