export const GetCommand = (code: number) => Object.entries(Command).find(([_, v]) => v == code)![0]; export enum Command { auth, help, install, publish, run, status, update, }