Skip to content

Commit

Permalink
Delete action
Browse files Browse the repository at this point in the history
  • Loading branch information
smyrick committed Nov 12, 2024
1 parent 98b8874 commit 32b7684
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/onPushToMain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ jobs:
id: oclif-readme
run: |
npm install
npm run build
npm exec oclif readme
if [ -n "$(git status --porcelain)" ]; then
git add .
git add README.md
git commit -am "chore: update README.md"
git push -u origin ${{ github.ref_name }}
fi
18 changes: 0 additions & 18 deletions .github/workflows/onRelease.yml

This file was deleted.

26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ USAGE
# Commands
<!-- commands -->
* [`graphql-mock-cli help [COMMAND]`](#graphql-mock-cli-help-command)
* [`graphql-mock-cli mock SCHEMA`](#graphql-mock-cli-mock-schema)
* [`graphql-mock-cli plugins`](#graphql-mock-cli-plugins)
* [`graphql-mock-cli plugins add PLUGIN`](#graphql-mock-cli-plugins-add-plugin)
* [`graphql-mock-cli plugins:inspect PLUGIN...`](#graphql-mock-cli-pluginsinspect-plugin)
Expand Down Expand Up @@ -59,6 +60,31 @@ DESCRIPTION

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.16/src/commands/help.ts)_

## `graphql-mock-cli mock SCHEMA`

Start a mock GraphQL server from a file

```
USAGE
$ graphql-mock-cli mock SCHEMA [--port <value>]
ARGUMENTS
SCHEMA Schema file to mock
FLAGS
--port=<value> [default: 4000] HTTP port for server
DESCRIPTION
Start a mock GraphQL server from a file
EXAMPLES
$ graphql-mock-cli mock schema.graphql
$ graphql-mock-cli mock schema.graphql --port 8080
```

_See code: [src/commands/mock/index.ts](https://github.com/apollosolutions/graphql-mock-cli/blob/v0.0.1/src/commands/mock/index.ts)_

## `graphql-mock-cli plugins`

List installed plugins.
Expand Down

0 comments on commit 32b7684

Please sign in to comment.