@stepzen/sdk
Usage
const stepzen = require('@stepzen/sdk')
const ACCOUNT = '<account>'
const ADMIN_KEY = '<admin key>'
(async () => {
const client = await stepzen.client({
account: ACCOUNT,
adminkey: ADMIN_KEY,
})
await client.upload.configurationset('folder/name', '/path/to/config.yaml')
await client.upload.schema('folder/name', '/path/to/schema')
await client.deploy('folder/name', {
schema: 'folder/name',
})
await client.deploy('folder/name', {
configurationsets: ['folder/name', 'stepzen/defaults'],
schema: 'folder/name',
})
})()