Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
smyrick committed Nov 12, 2024
1 parent dc8345c commit 66773ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/onPushToMain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
git push -u origin ${{ github.ref_name }}
fi
- name: Create Github Release
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5
uses: ncipollo/release-action@v1
if: ${{ steps.version-check.outputs.skipped == 'false' }}
with:
name: ${{ steps.version-check.outputs.tag }}
Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
@apollosolutions/graphql-mock-cli
=================
[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@apollosolutions/graphql-mock-cli.svg)](https://npmjs.org/package/@apollosolutions/graphql-mock-cli)
[![Downloads/week](https://img.shields.io/npm/dw/@apollosolutions/graphql-mock-cli.svg)](https://npmjs.org/package/@apollosolutions/graphql-mock-cli)

Mock a GraphQL schema in one command

Expand All @@ -13,19 +11,20 @@ Mock a GraphQL schema in one command
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
You can run the CLI using NPX directly on the repo.

```sh-session
$ npm install -g @apollosolutions/graphql-mock-cli
$ graphql-mock-cli COMMAND
$ npx github:@apollosolutions/graphql-mock-cli COMMAND
running command...
$ graphql-mock-cli (--version)
@apollosolutions/graphql-mock-cli/0.0.1 linux-x64 node-v18.20.4
$ graphql-mock-cli --help [COMMAND]

$ npx github:@apollosolutions/graphql-mock-cli --version
@apollosolutions/graphql-mock-cli/0.0.1 darwin-arm64 node-v22.11.0

$ npx github:@apollosolutions/graphql-mock-cli --help [COMMAND]
USAGE
$ graphql-mock-cli COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`graphql-mock-cli help [COMMAND]`](#graphql-mock-cli-help-command)
Expand Down

0 comments on commit 66773ba

Please sign in to comment.