@cto.ai/ops
Version:
💻 CTO.ai Ops - The CLI built for Teams 🚀
44 lines (43 loc) • 1.58 kB
TypeScript
export declare type IOpFile = 'ops.yml';
export declare type IWorkflow = 'workflow';
export declare type ICommand = 'command';
export declare type IGlueCode = 'glue_code';
export declare const OP_FILE: IOpFile;
export declare const WORKFLOW: IWorkflow;
export declare const COMMAND: ICommand;
export declare const PUBLIC = "Public \uD83C\uDF0E";
export declare const PRIVATE = "Private \uD83D\uDD11";
export declare const LOCAL = "Local \uD83D\uDCBB";
export declare type WORKFLOW_TYPE = 'workflow';
export declare type COMMAND_TYPE = 'command';
export declare type GLUECODE_TYPE = 'glue_code';
export declare const WORKFLOW_TYPE = "workflow";
export declare const COMMAND_TYPE = "command";
export declare const GLUECODE_TYPE = "glue_code";
export declare type OpTypes = IWorkflow | ICommand | IGlueCode;
export declare const COMMAND_ENDPOINT = "ops";
export declare const WORKFLOW_ENDPOINT = "workflows";
export declare const SDK2 = "2";
export declare const SDK2_DAEMON_ENTRYPOINT = "/bin/sdk-daemon";
export declare const getEndpointFromOpType: (opType: OpTypes) => "ops" | "workflows";
export declare const YAML_TYPE_STRING = "QUOTE_SINGLE";
export declare const YAML_TYPE_SEQUENCE = "SEQ";
export declare const HELP_COMMENTS: {
version: string;
ops: {
name: string;
description: string;
run: string;
env: string;
src: string;
public: string;
mountCwd: string;
mountHome: string;
bind: string;
port: string;
help: string;
};
workflows: {
name: string;
};
};