thunderstore-cli
v0.0.2
Published
A basic Effect CLI application
Readme
Thunderstore Mod Manager
Installation
Using npm (Preferred)
- Install the package globally on your server
npm i -g thunderstore-cli Building Manually
- Clone the repo
git clone https://github.com/andacg1/thunderstore-server-cli.git- Install dependencies
npm install- Create a package archive
npm run pack- Upload the
thunderstore-cli-0.0.2.tgzarchive to your server - Install the package globally on your server
npm i -g thunderstore-cli-0.0.2.tgzUsage
- Create a dependency file (e.g.
mods.json) on your server
{
"mods": [
{
"author": "Vapok",
"package": "AdventureBackpacks",
"version": "1.7.10"
},
{
"author": "Marlthon",
"package": "Cats",
"version": "0.1.3"
},
{
"author": "MSchmoecker",
"package": "MultiUserChest",
"version": "0.6.1"
}
]
}- Run
thunderstore-cli
thunderstore-cli --deps /home/steam/valheim/mods.json -o /home/steam/valheim/BepInEx/pluginsContributing
Running Code
This template leverages tsx to allow execution of TypeScript files via NodeJS as if they were written in plain JavaScript.
To execute a file with tsx:
npx tsx ./path/to/the/file.tsOperations
Building
To build the package:
npm run buildTesting
To test the package:
npm run test