{"version":"0.14.4","commands":{"console":{"id":"console","description":"Open the Slicknode console","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"env":{"name":"env","type":"option","char":"e","description":"The configured environment name"}},"args":[]},"delete":{"id":"delete","description":"Delete the current project deployment from the slicknode servers.","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"force":{"name":"force","type":"boolean","char":"f","description":"Force the deletion without asking for confirmation","allowNo":false},"env":{"name":"env","type":"option","char":"e","description":"The environment to delete"}},"args":[]},"deploy":{"id":"deploy","description":"Deploy the current project state to the Slicknode Cloud","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"env":{"name":"env","type":"option","char":"e","description":"The configured environment name"},"name":{"name":"name","type":"option","char":"n","description":"The name of the project as displayed in the console","required":false},"force":{"name":"force","type":"boolean","char":"f","description":"Force the deployment without asking for confirmation","allowNo":false},"account":{"name":"account","type":"option","char":"a","description":"The account identifier where the project should be deployed","required":false},"alias":{"name":"alias","type":"option","description":"The alias of the project which is part of the endpoint URL"},"timeout":{"name":"timeout","type":"option","description":"Number of milliseconds to wait for API to become available before triggering timeout error","default":30000}},"args":[]},"endpoint":{"id":"endpoint","description":"Return the GraphQL API endpoint","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"env":{"name":"env","type":"option","char":"e","description":"The configured environment name"}},"args":[]},"init":{"id":"init","description":"Create a new Slicknode project","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"name":{"name":"name","type":"option","char":"n","description":"The name of the project as displayed in the console"},"alias":{"name":"alias","type":"option","char":"a","description":"The alias of the project which is part of the endpoint URL"},"account":{"name":"account","type":"option","description":"The identifier of the account where the project should be deployed"}},"args":[{"name":"name","description":"The name of the project"},{"name":"template","description":"Git repository URL to be used as template"}]},"login":{"id":"login","description":"Login to a slicknode account / change user","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"}},"args":[]},"migrate":{"id":"migrate","description":"Migrates the database to the current state","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"database-schema":{"name":"database-schema","type":"option","char":"s","description":"The DB schema name where the data is stored","required":true,"default":"slicknode"},"database-url":{"name":"database-url","type":"option","char":"u","description":"PostgreSQL DB connection url, for example: postgresql://user:secret@localhost/dbname","required":true},"force":{"name":"force","type":"boolean","char":"f","description":"Apply migrations immediately without asking for confirmation","allowNo":false}},"args":[]},"playground":{"id":"playground","description":"Open the GraphQL API Playground","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"env":{"name":"env","type":"option","char":"e","description":"The configured environment name"}},"args":[]},"pull":{"id":"pull","description":"Pull the latest changes from the server","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"env":{"name":"env","type":"option","char":"e","description":"The configured environment name"}},"args":[]},"start":{"id":"start","description":"Starts the Slicknode GraphQL server","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"port":{"name":"port","type":"option","char":"p","description":"Port on which to listen for HTTP requests","default":3000},"database-schema":{"name":"database-schema","type":"option","char":"s","description":"The DB schema name where the data is stored","required":true,"default":"slicknode"},"database-url":{"name":"database-url","type":"option","char":"u","description":"PostgreSQL DB connection url, for example: postgresql://user:secret@localhost/dbname","required":true},"settings":{"name":"settings","type":"option","description":"Path to a YAML file for module settings"},"admin-secret":{"name":"admin-secret","type":"option","description":"The admin secret to connect the API to the Slicknode console (min 20 characters)"},"watch":{"name":"watch","type":"boolean","char":"w","description":"Watch for file system changes and hot reload handlers and schema","allowNo":false},"force-migrate":{"name":"force-migrate","type":"boolean","char":"f","description":"Automatically apply DB migrations on start. WARNING: Applies migrations immediately when watch mode is on.","allowNo":false},"s3-image-endpoint":{"name":"s3-image-endpoint","type":"option","description":"The S3 service endpoint for the image bucket, for example: https://s3.us-west-1.amazonaws.com"},"s3-image-endpoint-cdn":{"name":"s3-image-endpoint-cdn","type":"option","description":"Public endpoint for the images. If no CDN is used, should point to `http(s)://<your-slicknode-endpoint>/images/`"},"s3-image-bucket":{"name":"s3-image-bucket","type":"option","description":"S3 bucket where images are stored"},"image-thumbnail-secret":{"name":"image-thumbnail-secret","type":"option","description":"Secret to generate unguessable URLs to image thumbnails"},"s3-access-key-id":{"name":"s3-access-key-id","type":"option","description":"AWS access key ID for S3 storage"},"s3-secret-access-key":{"name":"s3-secret-access-key","type":"option","description":"AWS secret access key for S3 storage"}},"args":[]},"status":{"id":"status","description":"Show information about the current project status (changes, warnings etc.)","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"env":{"name":"env","type":"option","char":"e","description":"The configured environment name"}},"args":[]},"config:get":{"id":"config:get","description":"Returns the configuration value for a setting","pluginName":"slicknode","pluginType":"core","aliases":[],"examples":["$ slicknode config:get endpoint\n"],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"}},"args":[{"name":"name","required":true,"options":["endpoint"]}]},"config:set":{"id":"config:set","description":"Sets the configuration value for a setting","pluginName":"slicknode","pluginType":"core","aliases":[],"examples":["$ slicknode config:set NAME VALUE\n"],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"}},"args":[{"name":"name","required":true,"options":["endpoint"]},{"name":"value","required":true}]},"module:add":{"id":"module:add","description":"Add modules as a dependency to the project","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"}},"args":[{"name":"[names]","description":"The names of the modules to add","required":true}]},"module:create":{"id":"module:create","description":"Creates a new module","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"namespace":{"name":"namespace","type":"option","char":"n","description":"The namespace of the module","required":false},"label":{"name":"label","type":"option","char":"l","description":"The label as displayed in the admin interface","required":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"The GraphQL API endpoint to create a remote module","required":false},"header":{"name":"header","type":"option","char":"h","description":"HTTP headers to be sent to the remote GraphQL API endpoint","required":false}},"args":[{"name":"name","description":"The name of the module","required":true}]},"module:remove":{"id":"module:remove","description":"Remove modules as a dependency from the project","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"}},"args":[{"name":"[names]","description":"The names of the modules to remove","required":true}]},"runtime:build":{"id":"runtime:build","description":"Builds the source package for the runtime with the custom extensions","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"env":{"name":"env","type":"option","char":"e","description":"The configured environment name"},"force":{"name":"force","type":"boolean","char":"f","description":"Delete output directory without confirmation if exists","allowNo":false}},"args":[{"name":"output","description":"The target output directory or file of the built source bundle"}]},"runtime:start":{"id":"runtime:start","description":"Starts a HTTP server with the Slicknode runtime","pluginName":"slicknode","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","char":"d","description":"The target directory, if other than current","default":"./"},"port":{"name":"port","type":"option","char":"p","description":"The port on which the server listens"},"secret":{"name":"secret","type":"option","char":"s","description":"The secret that is used for request signatures. Omit for insecure access (default)"},"watch":{"name":"watch","type":"boolean","char":"w","description":"Watch for file system changes and reload code automatically","allowNo":false}},"args":[]}}}