1.1.0 • Published 4 years ago

tcmm-cli v1.1.0

Weekly downloads
13
License
All Rights Reserv...
Repository
github
Last release
4 years ago

tcmm-cli

Repository manager cli for The Cooler Server

oclif Version Downloads/week License

Usage

$ npm install -g tcmm-cli
$ tcmm-cli COMMAND
running command...
$ tcmm-cli (-v|--version|version)
tcmm-cli/1.1.0 win32-x64 node-v14.8.0
$ tcmm-cli --help [COMMAND]
USAGE
  $ tcmm-cli COMMAND
...

Commands

tcmm-cli edit

Edits an existing repository file

USAGE
  $ tcmm-cli edit

OPTIONS
  -b, --banner=https://example.com/banner.png  The URL of the banner of the repository
  -i, --icon=https://example.com/icon.png      The URL of the icon of the repository
  -n, --name=My mod repository                 The name of the repository
  -o, --optional=@mod1,@mod2,@mod3             A comma separated list of mods that should be marked as optional mods

See code: src/commands/edit.ts

tcmm-cli generate

Generates the repository file from the mods in the current working directory

USAGE
  $ tcmm-cli generate

OPTIONS
  -b, --banner=https://example.com/banner.png  The URL of the banner of the repository
  -i, --icon=https://example.com/icon.png      The URL of the icon of the repository
  -n, --name=My mod repository                 The name of the repository
  -o, --optional=@mod1,@mod2,@mod3             A comma separated list of mods that should be marked as optional mods

See code: src/commands/generate.ts

tcmm-cli help [COMMAND]

display help for tcmm-cli

USAGE
  $ tcmm-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

tcmm-cli servers

Manages the servers for the repository in the current folder

USAGE
  $ tcmm-cli servers

See code: src/commands/servers/index.ts

tcmm-cli servers:add

Adds a new server to the list of servers in the repository file

USAGE
  $ tcmm-cli servers:add

See code: src/commands/servers/add.ts

tcmm-cli servers:delete SERVERINDEX

Deletes a server from list of servers in the repository file

USAGE
  $ tcmm-cli servers:delete SERVERINDEX

ARGUMENTS
  SERVERINDEX  The index of the server to be deleted

See code: src/commands/servers/delete.ts

tcmm-cli servers:list

Lists the servers in the current repository file

USAGE
  $ tcmm-cli servers:list

See code: src/commands/servers/list.ts

tcmm-cli test URL

Makes a call to the given URL and tests wether it returns the repository in the current working directory

USAGE
  $ tcmm-cli test URL

ARGUMENTS
  URL  The URL of the repository to test for

See code: src/commands/test.ts