Command line interface in C for the PNW3D Printing Service! This application is meant for Maintainers and above to monitor and control machines.
- Using Cygwin, install
cmakemakegcc-coregcc-g++libcurl-devellibcurl4curl. - Set a system environment variable
CYGWIN_HOMEto the Cygwin installation directory. - Add
C:\cygwin64\binto thePATHuser environment variable. - Make sure you are using the Cygwin GCC Compiler! You should see /usr/bin/gcc when running
which gccon your terminal. - Use the
makecommand to build the program.
- Execute one of the following commands in the root directory.
cli.exe[starts the monitor]cli.exe login/logoutcli.exe start --machine NAME --file PATHcli.exe stop/resume/pause --machine NAME
- Optionally, instead of logging in, an environment variable,
PNW3dAccessToken, can set to the the value of the access token. If it isn't set, the program will use the value of the.accessTokenfile that is created by the login function.