Package: pyconvox
PyConvoxDescriptionA Wrapper application built around convox cli application. This can be modified more to restrict/limit convox access.RequirementsPython version 3 and aboveConvox cli installed and configured with the keyInstallation#Install Pyconvox using pip package (Only supported python3 and above)pipinstallpyconvoxUsageusage:pyconvox[-h][--version]{env,railsconsole,bash,scale,instances,apps,logs,releases,ps}...

pyconvox-awrapperfortheconvoxapplication

positionalarguments:{env,railsconsole,bash,scale,instances,apps,logs,releases,ps}Commandsenvlist/setenvvarsrailsconsolerunrailsconsolebashrunbashscalescaleofaapplicationinstancesinstancesdetailsoftherackappsappsdetailsoftheracklogslogsofaservicereleasesreleasesofaapplicationpsprocessesrunningforapplication

optionalarguments:-h,--helpshowthishelpmessageandexit--version,-Vshowprogram'sversionnumberandexitList all the Applicationsusage:pyconvoxapps[-h]optionalarguments:-h,--helpshowthishelpmessageandexitGet environment variables of an applicationpyconvoxenv-aAPPNAMEusage:pyconvoxenv[-h][--appAPP][set...]positionalarguments:setsetenvironmentvariablesKEY=VALUE

optionalarguments:-h,--helpshowthishelpmessageandexit--appAPP,-aAPPapplicationnameAPPNAMEis the name of the application listed inpyconvox apps.Set environment variables to an applicationpyconvoxenvsetVARIABLE=VALUE-aAPPNAMEusage:pyconvoxenv[-h][--appAPP][--promotePROMOTE][set...]positionalarguments:setsetenvironmentvariablesKEY=VALUE

options:-h,--helpshowthishelpmessageandexit--appAPP,-aAPPapplicationname--promotePROMOTE,-pPROMOTEadd"-p 1"attheendifyouwanttopromotethechangeVARIABLEis the name of the environment variable.VALUEis the value of the environment variable.APPNAMEis the name of the application listed inpyconvox apps.Get into Rails console of the applicationpyconvoxrailsconsole-aAPPNAMEorpyconvoxrailsconsole-sSERVICE-aAPPNAMEusage:pyconvoxrailsconsole[-h][--appAPP][--serviceSERVICE]optionalarguments:-h,--helpshowthishelpmessageandexit--appAPP,-aAPPapplicationname--serviceSERVICE,-sSERVICEServicenameAPPNAMEis the name of the application listed inpyconvox apps.SERVICEis the name of the service listed inpyconvox scale -a APPNAME.Get into Bash console of the applicationpyconvoxbash-aAPPNAMEorpyconvoxbash-sSERVICE-aAPPNAMEusage:pyconvoxbash[-h][--appAPP][--serviceSERVICE]optionalarguments:-h,--helpshowthishelpmessageandexit--appAPP,-aAPPapplicationname--serviceSERVICE,-sSERVICEServicenameAPPNAMEis the name of the application listed inpyconvox apps.SERVICEis the name of the service listed inpyconvox scale -a APPNAME.Get Count,CPU and Memory of all the services/workers of an applicationpyconvoxscale-aAPPNAMEusage:pyconvoxscale[-h][--appAPP]optionalarguments:-h,--helpshowthishelpmessageandexit--appAPP,-aAPPapplicationnameAPPNAMEis the name of the application listed inpyconvox apps.Get currently running services/workers of an applicationpyconvoxps-aAPPNAMEusage:pyconvoxps[-h][--appAPP]optionalarguments:-h,--helpshowthishelpmessageandexit--appAPP,-aAPPapplicationnameAPPNAMEis the name of the application listed inpyconvox apps.Get Count,CPU and Memory of all the Instancespyconvoxinstancesusage:pyconvoxinstances[-h]optionalarguments:-h,--helpshowthishelpmessageandexitGet release details of an applicationpyconvoxreleases-aAPPNAMEusage:pyconvoxreleases[-h][--appAPP]optionalarguments:-h,--helpshowthishelpmessageandexit--appAPP,-aAPPapplicationnameAPPNAMEis the name of the application listed inpyconvox apps.Stream current logs of an applicationpyconvoxlogs-aAPPNAMEusage:pyconvoxlogs[-h][--appAPP]optionalarguments:-h,--helpshowthishelpmessageandexit--appAPP,-aAPPapplicationnameAPPNAMEis the name of the application listed inpyconvox apps.Help of pyconvoxusage:pyconvox[--help|-h]optionalarguments:-h,--helpshowthishelpmessageandexitVersion of pyconvoxusage:pyconvox[--version|-V]optionalarguments:-h,--helpshowthishelpmessageandexit