chittycan
Version:
Your completely autonomous network that grows with you - DNA ownership platform with encrypted vaults, PDX portability, and ChittyFoundation governance
95 lines • 2.79 kB
TypeScript
/**
* Local Chitty NLP/ML Command Handler
*
* Conversational flow:
* $ can chitty gh clone my repo
* > chitty can: gh repo clone chittycorp/chittycan
* using gh-remote: chittycorp
*
* Proceed? [Y/n]
*/
/**
* CLI tools and their remote requirements
*/
export declare const CLI_CONFIGS: {
readonly gh: {
readonly name: "GitHub CLI";
readonly remoteType: "github";
readonly checkCommand: "gh --version";
readonly authCommand: "gh auth login";
};
readonly docker: {
readonly name: "Docker";
readonly remoteType: null;
readonly checkCommand: "docker --version";
};
readonly kubectl: {
readonly name: "Kubernetes";
readonly remoteType: "kubernetes";
readonly checkCommand: "kubectl version --client";
};
readonly git: {
readonly name: "Git";
readonly remoteType: null;
readonly checkCommand: "git --version";
};
readonly npm: {
readonly name: "npm";
readonly remoteType: null;
readonly checkCommand: "npm --version";
};
readonly aws: {
readonly name: "AWS CLI";
readonly remoteType: "aws";
readonly checkCommand: "aws --version";
readonly authCommand: "aws configure";
};
readonly gcloud: {
readonly name: "Google Cloud SDK";
readonly remoteType: "gcloud";
readonly checkCommand: "gcloud --version";
readonly authCommand: "gcloud auth login";
};
readonly az: {
readonly name: "Azure CLI";
readonly remoteType: "azure";
readonly checkCommand: "az --version";
readonly authCommand: "az login";
};
readonly terraform: {
readonly name: "Terraform";
readonly remoteType: "terraform";
readonly checkCommand: "terraform --version";
};
readonly helm: {
readonly name: "Helm";
readonly remoteType: "kubernetes";
readonly checkCommand: "helm version";
};
readonly cargo: {
readonly name: "Rust Cargo";
readonly remoteType: null;
readonly checkCommand: "cargo --version";
};
readonly pip: {
readonly name: "Python pip";
readonly remoteType: null;
readonly checkCommand: "pip --version";
};
readonly yarn: {
readonly name: "Yarn";
readonly remoteType: null;
readonly checkCommand: "yarn --version";
};
readonly pnpm: {
readonly name: "pnpm";
readonly remoteType: null;
readonly checkCommand: "pnpm --version";
};
};
export type SupportedCLI = keyof typeof CLI_CONFIGS;
/**
* Main chitty command handler
*/
export declare function chittyCommand(args: string[]): Promise<void>;
//# sourceMappingURL=chitty.d.ts.map