@ciellllllllll/setup
v0.1.3
Published
GSLIB Setup CLI is a Windows-focused Node.js command line tool for creating Visual Studio C++ projects configured for GSLIB.
Readme
GSLIB Setup CLI
GSLIB Setup CLI is a Windows-focused Node.js command line tool for creating Visual Studio C++ projects configured for GSLIB.
It generates a .sln, .vcxproj, .vcxproj.filters, src/main.cpp, and .gitignore directly. Generated projects target Visual Studio / Win32 and use the PlatformToolset detected from the local Visual Studio installation.
Installation
Install from npm:
npm install -g @ciellllllllll/setupAfter installation, the global command is:
SetupMain Commands
Find
Find and save the GSLIB path and Visual Studio toolset configuration:
Setup --find
Setup --find "C:\Libraries\gslib_2021"You can also choose a specific toolset or profile:
Setup --find "C:\Libraries\gslib_2021" --toolset v142
Setup --find "C:\Libraries\gslib_2021" --as gslib2021Setup
Create a GSLIB project in the current directory:
Setup
Setup "MyGame"
Setup --name "MyGame"Without a name, the solution directory uses the default date-based name, and the project name is GSLIB_Project.
Uninstall
Uninstall the CLI and remove saved Setup configuration:
Setup --uninstall
Setup uninstall
Setup --uninstall --forceTo uninstall while keeping the saved configuration:
Setup --uninstall --keep-configHelp
Show all available commands and options:
Setup --helpUse Setup --help to view additional commands such as profile management, toolset switching, config display, version output, and update checks.
Update
Check npm for a newer Setup version immediately:
Setup update
Setup update --forceThis only shows the install command when an update is available. It does not update automatically.
JSON Configuration
Setup stores its configuration as JSON. It does not use SQLite or a custom server.
The configuration file is stored at:
%USERPROFILE%\.gslib-setup\config.jsonThe update-check state is stored separately at:
%USERPROFILE%\.gslib-setup\update-check.jsonYou can display the active JSON configuration with:
Setup --configTo print only the config file path:
Setup --config-path