@cto.ai/ops
Version:
💻 CTO.ai Ops - The CLI built for Teams 🚀
38 lines (37 loc) • 871 B
YAML
# for more info visit https://cto.ai/docs/ops-reference
version: "1"
commands:
- name: hello-world:0.1.0
public: false
description: Your first hello-world op
run: node /ops/index.js
remote: true
sdk: "2"
sourceCodeURL: ""
env:
- "MY_ENV_VAR=$MY_ENV_VAR"
- "MY_ACCESS_TOKEN=$MY_ACCESS_TOKEN"
mountCwd: false
mountHome: false
bind:
- "/tmp:/tmp"
port:
- 3000:3000
help:
usage: "Your first hello-world op"
arguments:
username: "Your username"
email: "Your email"
options:
build: "Build flag"
clear: "Clears"
workflows:
- name: hello-world:0.1.0
description: Your first hello-world op
public: false
sourceCodeURL: ""
steps:
- node ./index.js
env:
- "MY_ENV_VAR=$MY_ENV_VAR"
- "MY_ACCESS_TOKEN=$MY_ACCESS_TOKEN"