Commit Graph

9 Commits

Author SHA1 Message Date
Smit Shah
5595e85e27 cli: make update prompts non-intrusive
## Description
This PR makes the blocking update prompt when running Hasura CLI non-blocking. Further details of the change can be found here, [PLAT-376](https://hasurahq.atlassian.net/browse/PLAT-376).

## Changelog ✍️

__Component__ :  cli

__Type__: enhancement

__Product__: community-edition

### Short Changelog

cli: make the update notifications when running Hasura CLI non-blocking [#9367](https://github.com/hasura/graphql-engine/issues/9367)

### Kodiak commit message
Information used by [Kodiak bot](https://kodiakhq.com/) while merging this PR.

#### Commit title
Make the update prompt non-intrusive

[PLAT-376]: https://hasurahq.atlassian.net/browse/PLAT-376?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[PLAT-376]: https://hasurahq.atlassian.net/browse/PLAT-376?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

closes https://github.com/hasura/graphql-engine/issues/9367

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7449
GitOrigin-RevId: 73cd019982b9355a8aaa9c6b2592f0413b17f410
2023-01-11 10:32:18 +00:00
Rob Dominguez
880182c805 docs: improve Long values for CLI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7399
GitOrigin-RevId: 6e848f6eae2e5418c386f814623c122646db12c7
2022-12-30 03:52:33 +00:00
Mohd Bilal
c1058fac70 cli: update and version commands updated to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6746
GitOrigin-RevId: d8271cdb890eecc861c33d765b3a364e904bee38
2022-11-08 03:53:51 +00:00
hasura-bot
bc10d9eb1c cli: fix changelog hyperlink in the log message
GITHUB_PR_NUMBER: 6936
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6936

closes https://github.com/hasura/graphql-engine/issues/6682

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/1365
Co-authored-by: pow-devops2020 <69558219+pow-devops2020@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: fbf66ea7e4abe0be8684b8e6cc7361f14a6faea0
2021-11-11 10:56:16 +00:00
Aravind K P
3136ffad1b cli: update go.mod
>

### Description
Update `go.mod` to allow other packages to import [v2.0.0 versions](https://blog.golang.org/v2-go-modules).

### Changelog

- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.

### Affected components

- [x] CLI

https://github.com/hasura/graphql-engine-mono/pull/1584

GitOrigin-RevId: a5d17ad20289d1cd7217763f56ef3ba6552d69c4
2021-06-16 11:45:07 +00:00
Shahidh K Muhammed
d7d53f222c
cli: add version flag in update-cli command (#3996)
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2020-03-05 12:25:33 +05:30
Shahidh K Muhammed
f6a43fe3ba
fix various version-related issues with cli (close #3706) (#3709)
- do not quit on server-cli version mismatch, show warning
- fix a bug in update-cli command which prevets updates to pre-release
versions
- if a console template for a particular version is not found, use the
latest template
2020-01-16 09:23:18 +05:30
Charlie Saunders
e90866752e fix some typos in cli (#2708)
* fix typo in manual CLI update message

* fix a typo that was indicated in #2689
2019-08-10 17:13:45 +00:00
Aravind Shankar
20be2e5ab1 add update-cli command to cli (close #1239) (#1251) 2019-02-04 16:21:29 +05:30