Skip to content

Commit

Permalink
mhm
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela committed Jun 2, 2023
1 parent 9bb7f80 commit f678b04
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 34 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/release-alpha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
cli-test:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
needs: [cli-artifacts]
steps:
Expand All @@ -89,27 +89,14 @@ jobs:
with:
name: hive-cli-darwin-x64

- name: Pull artifact for windows
if: matrix.os == 'windows-latest'
uses: actions/download-artifact@v3
with:
name: hive-cli-win-x64

- name: Pull artifact for ubuntu
if: matrix.os == 'ubuntu-latest'
uses: actions/download-artifact@v3
with:
name: hive-cli-linux-x64

- name: Unzip and run (macos and ubuntu)
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
- name: Unzip and run
run: |
tar -xzf *.tar.gz
ls
./hive/bin/hive --version || exit 1
- name: Unzip and run (windows)
if: matrix.os == 'windows-latest'
run: |
tar -xzf *.tar.gz
./hive/bin/hive --version || exit 1
38 changes: 19 additions & 19 deletions packages/libraries/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ USAGE
<value>] [--cdn.accessToken <value>] [--outputFile <value>]
FLAGS
--artifact=(sdl|supergraph|metadata|services|sdl.graphql|sdl.graphqls) (required) artifact to fetch (Note: supergraph
is only available for federation projects)
--cdn.accessToken=<value> CDN access token
--cdn.endpoint=<value> CDN endpoint
--outputFile=<value> whether to write to a file instead of stdout
--artifact=<option> (required) artifact to fetch (Note: supergraph is only available for federation projects)
<options: sdl|supergraph|metadata|services|sdl.graphql|sdl.graphqls>
--cdn.accessToken=<value> CDN access token
--cdn.endpoint=<value> CDN endpoint
--outputFile=<value> whether to write to a file instead of stdout
DESCRIPTION
fetch artifacts from the CDN
```

_See code:
[dist/commands/artifact/fetch.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.20.2/dist/commands/artifact/fetch.js)_
[dist/commands/artifact/fetch.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.22.0/dist/commands/artifact/fetch.js)_

## `hive config:delete KEY`

Expand All @@ -87,7 +87,7 @@ DESCRIPTION
```

_See code:
[dist/commands/config/delete.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.20.2/dist/commands/config/delete.js)_
[dist/commands/config/delete.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.22.0/dist/commands/config/delete.js)_

## `hive config:get KEY`

Expand All @@ -98,14 +98,14 @@ USAGE
$ hive config:get KEY
ARGUMENTS
KEY config key
KEY (registry|cdn) config key
DESCRIPTION
prints specific cli configuration
```

_See code:
[dist/commands/config/get.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.20.2/dist/commands/config/get.js)_
[dist/commands/config/get.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.22.0/dist/commands/config/get.js)_

## `hive config:reset`

Expand All @@ -120,7 +120,7 @@ DESCRIPTION
```

_See code:
[dist/commands/config/reset.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.20.2/dist/commands/config/reset.js)_
[dist/commands/config/reset.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.22.0/dist/commands/config/reset.js)_

## `hive config:set KEY VALUE`

Expand All @@ -131,15 +131,15 @@ USAGE
$ hive config:set KEY VALUE
ARGUMENTS
KEY config key
KEY (registry|cdn) config key
VALUE config value
DESCRIPTION
updates specific cli configuration
```

_See code:
[dist/commands/config/set.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.20.2/dist/commands/config/set.js)_
[dist/commands/config/set.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.22.0/dist/commands/config/set.js)_

## `hive help [COMMANDS]`

Expand Down Expand Up @@ -186,7 +186,7 @@ DESCRIPTION
```

_See code:
[dist/commands/operations/check.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.20.2/dist/commands/operations/check.js)_
[dist/commands/operations/check.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.22.0/dist/commands/operations/check.js)_

## `hive operations:publish FILE`

Expand All @@ -213,7 +213,7 @@ DESCRIPTION
```

_See code:
[dist/commands/operations/publish.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.20.2/dist/commands/operations/publish.js)_
[dist/commands/operations/publish.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.22.0/dist/commands/operations/publish.js)_

## `hive schema:check FILE`

Expand Down Expand Up @@ -243,7 +243,7 @@ DESCRIPTION
```

_See code:
[dist/commands/schema/check.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.20.2/dist/commands/schema/check.js)_
[dist/commands/schema/check.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.22.0/dist/commands/schema/check.js)_

## `hive schema:delete SERVICE`

Expand All @@ -270,7 +270,7 @@ DESCRIPTION
```

_See code:
[dist/commands/schema/delete.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.20.2/dist/commands/schema/delete.js)_
[dist/commands/schema/delete.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.22.0/dist/commands/schema/delete.js)_

## `hive schema:publish FILE`

Expand Down Expand Up @@ -308,7 +308,7 @@ DESCRIPTION
```

_See code:
[dist/commands/schema/publish.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.20.2/dist/commands/schema/publish.js)_
[dist/commands/schema/publish.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.22.0/dist/commands/schema/publish.js)_

## `hive update [CHANNEL]`

Expand Down Expand Up @@ -346,7 +346,7 @@ EXAMPLES
```

_See code:
[@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v3.1.9/src/commands/update.ts)_
[@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v3.1.16/src/commands/update.ts)_

## `hive whoami`

Expand All @@ -368,7 +368,7 @@ DESCRIPTION
```

_See code:
[dist/commands/whoami.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.20.2/dist/commands/whoami.js)_
[dist/commands/whoami.js](https://github.com/kamilkisiela/graphql-hive/blob/v0.22.0/dist/commands/whoami.js)_

<!-- commandsstop -->

Expand Down

0 comments on commit f678b04

Please sign in to comment.