netlify-cli 9.0.4 → 9.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -159,6 +159,7 @@ Manage netlify functions
159
159
 
160
160
  | Subcommand | description |
161
161
  |:--------------------------- |:-----|
162
+ | [`graph:config:write`](/docs/commands/graph.md#graphconfigwrite) | Write a .graphqlrc.json file to the current directory for use with local tooling (e.g. the graphql extension for vscode) |
162
163
  | [`graph:edit`](/docs/commands/graph.md#graphedit) | Launch the browser to edit your local graph functions from Netlify |
163
164
  | [`graph:handler`](/docs/commands/graph.md#graphhandler) | Generate a handler for a Graph operation given its name. See `graph:operations` for a list of operations. |
164
165
  | [`graph:library`](/docs/commands/graph.md#graphlibrary) | Generate the Graph function library |
package/bin/run CHANGED
@@ -25,5 +25,10 @@ if (require.main === module) {
25
25
  const program = createMainCommand()
26
26
 
27
27
  // eslint-disable-next-line promise/prefer-await-to-then
28
- program.parseAsync(process.argv).catch((error_) => program.onEnd(error_))
28
+ program
29
+ .parseAsync(process.argv)
30
+ .then(() => {
31
+ program.onEnd()
32
+ })
33
+ .catch((error_) => program.onEnd(error_))
29
34
  }