@eightshone/sshman
Version:
A simple cli ssh manager
38 lines β’ 1.31 kB
JavaScript
import { homedir } from "os";
import packageJson from "../../package.json" with { type: "json" };
export const VERSION = packageJson.version;
export const DEFAULT_CONFIG = {
servers: [],
recentServers: [],
defaults: {
privateKey: `${homedir()}/.ssh/id_rsa`,
port: 22,
autoSavePrefix: "auto-save",
},
};
export const GOODBYES = [
"Thanks for stopping by! Take care! π",
"See you next time! π",
"Bye for now! Stay awesome! π",
"Take care and have a great day! π",
"Catch you later! πβ¨",
"Farewell, and donβt forget to smile! π",
"Until we meet again! πΎ",
"Thanks for chatting! Bye-bye! π¬",
"Wishing you all the best! π",
"Goodbye and stay safe! β€οΈ",
"See you later, alligator! π",
"Peace out! βοΈ",
"Take it easy! Bye! π§ββοΈ",
"Au revoir! Keep smiling! π",
"Bye-bye! Keep shining! β¨",
"Goodbye! Have a fantastic day! π₯³",
];
export const CONFIG_DIR = `${homedir()}/.sshman`;
export const CONNECTION_REGEX = /^(.*?)(?::(.*?))?@(.*?)(?::(\d+))?$/;
export const UPDATE_COMMANDS = {
yarn: "yarn global add @eightshone/sshman",
npm: "npm install -g @eightshone/sshman",
pnpm: "pnpm add -g @eightshone/sshman",
};
//# sourceMappingURL=consts.js.map