Skip to content

Instantly share code, notes, and snippets.

@timsuchanek
Last active September 11, 2017 19:55
Show Gist options
  • Save timsuchanek/ea7ef662c50964d7d1c4b311a5f7f97b to your computer and use it in GitHub Desktop.
Save timsuchanek/ea7ef662c50964d7d1c4b311a5f7f97b to your computer and use it in GitHub Desktop.
graphcool cli 1.3.13

Changes

  • hello world as blank project
  • removed debug .json files
  • proper formatted graphcool.yml of blank project
  • proper printing of init command
  • proper printing of add command
  • better usage command (graphcool help)
  • rename schemaExention to resolver
  • function logs
  • get-root-token
  • delete command
  • graphcool init selection: empty line after arrow
  • better error formatting for api errors
  • function overview with graphcool functions
  • init can now initialize into a folder
  • updated hello world example
  • fixed usage of module
  • function logs: rename Webhook/Inline to handler
  • diff command
  • --tail option for function logs
  • add modules, resolver to graphcool-json-schema package, added graphcool-json-schema as dep
  • Better migration printing: prisma/prisma1#526
  • put back basic hidden pull
  • fix export command
  • Closes milestone https://github.com/graphcool/graphcool-cli/milestone/6 and its issues

Instructions for Usage

npm install -g graphcool@beta

Please feel free to use all commands that are shown with graphcool help. If you want to test based on an existing project, you can choose that option in the graphcool init command.

WARNING

As soon as you're using the project from the CLI, it's unsafe to edit it from the Console! We will soon prohibit that, currently the project can get into an incosistent state, especially when using modules.

@marktani
Copy link

marktani commented Sep 11, 2017

Note that push was renamed to deploy and pull is now hidden and will not be supported long-term. The idea is that you evolve a project from the CLI and once you're happy you run graphcool deploy and also commit the changes to your source control. So, if you want to get the latest changes, you do git pull for example now, instead of previously graphcool pull.

This offers a much better workflow for CI and integration with source control solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment