UNPKG

@cto.ai/ops

Version:

💻 CTO.ai - The CLI built for Teams 🚀

1 lines • 13.7 kB
{"version":"1.19.23","commands":{"add":{"id":"add","description":"Add a workflow to your team.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"opName","description":"Name of the public workflow to be added to your team. It should be of the format - @teamname/workflowName:versionName"}]},"build":{"id":"build","description":"Build your workflow for sharing.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"nocache":{"name":"nocache","type":"boolean","description":"Do not use cache when building the image","allowNo":false},"ops":{"name":"ops","type":"option","description":"List of workflows from ops.yml you want to build. example: \n ops build ./ops.yml --ops commandName serviceName pipelineName","helpValue":"workflows"}},"args":[{"name":"path","description":"Path to the workflow you want to build."}]},"certs":{"id":"certs","description":"Save an SSL certificate and key for your service","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"cert-file":{"name":"cert-file","type":"option","description":"Path to your certificate file"},"help":{"name":"help","type":"boolean","char":"h","description":"Show help screen","allowNo":false},"key-file":{"name":"key-file","type":"option","description":"Path to your key file"}},"args":[{"name":"certificateType","description":"The type of certificate to store","required":true,"options":["ssl"]},{"name":"nameOrPath","description":"Name or path of the service to save SSL for.","required":true}]},"cleanup":{"id":"cleanup","description":"Clean up locally cached docker images.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"workflow","description":"Name of the workflow to be cleaned up"}]},"init":{"id":"init","description":"Create a new Workflow","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"kind":{"name":"kind","type":"option","char":"k","description":"the kind of Application to create (command, pipeline, etc.)"},"jobs":{"name":"jobs","type":"boolean","char":"j","description":"generate local template files for pipeline jobs","allowNo":false},"template":{"name":"template","type":"option","char":"t","description":"the name of the template to use"}},"args":[{"name":"name","description":"provide a name or pass a github url to a template"}]},"list":{"id":"list","description":"Lists the Workflows you have in your team.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"publish":{"id":"publish","description":"Publish a workflow to your team.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"ops":{"name":"ops","type":"option","char":"o","description":"Provide the list of workflows that you want to publish.","helpValue":"workflows"},"changelog":{"name":"changelog","type":"option","char":"c","description":"Provide a publish changelog","default":""},"nocache":{"name":"nocache","type":"boolean","description":"Do not use cache when building the image","allowNo":false}},"args":[{"name":"path","description":"Path to the workflow you want to publish.","required":true}]},"remove":{"id":"remove","description":"Remove a workflow from your team.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"all":{"name":"all","type":"boolean","description":"Allows you to remove all versions of a workflow on your current team.","allowNo":false}},"args":[{"name":"workflow","description":"The name and version of the workflow you want to remove. E.g. my-workflow:0.1.0\n Don't include team name or version if using the --all flag","required":true}]},"run":{"id":"run","description":"Run a workflow from your team or the registry.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"batch":{"name":"batch","type":"boolean","char":"B","description":"Runs the workflow in non-interactive batch mode.","allowNo":false},"build":{"name":"build","type":"boolean","char":"b","description":"Builds the workflow before running. Must provide a path to the workflow.","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"nocache":{"name":"nocache","type":"boolean","description":"Do not use cache when building the image","allowNo":false}},"args":[{"name":"nameOrPath","description":"Name or path of the workflow you want to run."}]},"search":{"id":"search","description":"Search for workflows in our registry.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"filter","description":"Filter results by workflow name or description."}]},"start":{"id":"start","description":"Start a service, pipeline or command on our cloud.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"nameOrPath","description":"Name or path of the workflow you want to run."}]},"status":{"id":"status","description":"See the status of currently running cloud services","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"stop":{"id":"stop","description":"Stop a service, pipeline or command running in The Ops Cloud","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"runId","description":"Run ID of the service, pipeline or command to stop"}]},"update":{"id":"update","description":"Update The Ops CLI.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"whoami":{"id":"whoami","description":"Display your user information","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"account:reset":{"id":"account:reset","description":"Reset your password.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{},"args":[]},"account:signin":{"id":"account:signin","description":"Log in to your account.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"interactive":{"name":"interactive","type":"boolean","char":"i","description":"Interactive Mode","allowNo":false},"password":{"name":"password","type":"option","char":"p","description":"Password"},"team":{"name":"team","type":"option","char":"t","description":"Team Name"},"user":{"name":"user","type":"option","char":"u","description":"Username or email"}},"args":[]},"account:signout":{"id":"account:signout","description":"Log out from your account.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"account:signup":{"id":"account:signup","description":"Creates an account to use with ops CLI.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"account:support":{"id":"account:support","description":"Contact our support team with questions.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"configs:delete":{"id":"configs:delete","description":"Delete a config stored for the active team","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"key":{"name":"key","type":"option","char":"k","description":"Secret Key Name"}},"args":[]},"configs:list":{"id":"configs:list","description":"List all the configs that are stored for the active team","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"configs:set":{"id":"configs:set","description":"Add a new config key & value","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"key":{"name":"key","type":"option","char":"k","description":"the key of the config to set"},"value":{"name":"value","type":"option","char":"v","description":"the value of the config to set"},"from-file":{"name":"from-file","type":"option","char":"f","description":"path to a file containing the value of the config to set"}},"args":[]},"generate:token":{"id":"generate:token","description":"Generate a long live access token.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"secrets:delete":{"id":"secrets:delete","description":"Delete a secret stored for the active team","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"key":{"name":"key","type":"option","char":"k","description":"Secret Key Name"}},"args":[]},"secrets:list":{"id":"secrets:list","description":"List all the keys that are stored for the active team","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"secrets:register":{"id":"secrets:register","description":"Register a secrets provider for a team","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{},"args":[]},"secrets:set":{"id":"secrets:set","description":"Add a key & value","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"key":{"name":"key","type":"option","char":"k","description":"the key of the secret to set"},"value":{"name":"value","type":"option","char":"v","description":"the value of the secret to set"},"from-file":{"name":"from-file","type":"option","char":"f","description":"path to a file containing the value of the secret to set"}},"args":[]},"secrets:unregister":{"id":"secrets:unregister","description":"Unregister a secrets provider for a team","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{},"args":[]},"team:create":{"id":"team:create","description":"Create your team.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"name":{"name":"name","type":"option","char":"n"}},"args":[]},"team:info":{"id":"team:info","description":"Shows basic team information for the team you are currently on.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"team:invite":{"id":"team:invite","description":"Invite your team members.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"invitees":{"name":"invitees","type":"option","char":"i","description":"A comma-separated string of usernames/emails we want to invite. E.g. (\"user1, user2@gmail.com, user3@something\")"}},"args":[]},"team:join":{"id":"team:join","description":"Accept an invite to join a team.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{},"args":[]},"team:leave":{"id":"team:leave","description":"Leave current team.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"team:list":{"id":"team:list","description":"Shows the list of your teams.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"team:remove":{"id":"team:remove","description":"Remove your team members.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"member","description":"The username of the team member you want to remove from the team."}]},"team:switch":{"id":"team:switch","description":"Switch your currently active team.","pluginName":"@cto.ai/ops","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"teamName","description":"Team Name"}]}}}