0.0.4 • Published 1 year ago
@ossy/cli v0.0.4
@ossy/cli
Command line tool that makes it easier to interact with our services
App
build
Builds a production version of the app
npx @ossy/cli app buildserve
Serves the app
npx @ossy/cli app serveCms
import-resource-templates
Imports resource templates to your workspace so that they can be used in the UI.
npx @ossy/cli cms import-resource-templates --authentication <cms-api-token> --ossy-file ossy.jsonWorkflow example
name: "[CMS] Upload resource templates"
on:
workflow_dispatch:
jobs:
upload-resource-templates:
name: Upload resource templates
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
- name: Upload
run: |
npx --yes @ossy/cli cms import-resource-templates \
--authentication ${{ secrets.CMS_API_TOKEN }} \
--ossy-file ossy.json \Arguments
| Argument | Description | Required |
|---|---|---|
| --authentication | Your personal CMS API token | required |
| --ossy-file | Path to the file containing the workspaceId and resource templates | required |
0.0.4
1 year ago
0.0.4-alpha
2 years ago
0.0.3-alpha
2 years ago
0.0.2-alpha
2 years ago
0.0.1-alpha
3 years ago