New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@levellearning/game-cli-tools

Package Overview
Dependencies
Maintainers
11
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@levellearning/game-cli-tools

mtgame game cli tools

latest
npmnpm
Version
0.42.0
Version published
Maintainers
11
Created
Source

@levellearning/game-cli-tools

This package contains cli tools for the level learning content team.

Installation

You must be logged into npm as a user that has access to @levellearning org. To log in to npm, do

npm login

Then install

npm i -g @levellearning/game-cli-tools

Usage

The cli tools provides the following commands:

flatten-directory

Can be run by

mtgame-cli --flatten-directory

Optional Parameters: rootdir : string -- The directory to flatten. [default: CWD] outputdir : string -- The directory to dump the output into. [default: flatten-directory-output] cut : boolean -- Cut files from root into output dir instead of copying [default: false]

Copies every file in a directory recursively to a target directory. Renames every file to start with a prefix of the directories walked to avoid naming collisions. Directories are relative to the cwd or current working directory.

upload-decks

Can be run by

mtgame-cli --upload-decks

Optional Parameters: rootdir : string -- The directoy to start uploading decks from: [default: CWD] space : string -- Contentful space id. Will be prompted to provide if this argument not provided. token : string -- Contentful management token. Will be promited to provide if argument not provided.

Uploads decks to contentful from your local machine. Requires contentful space & token. Will be asked if not provided. If no rootdir argument is provided, it will use cwd as the rootdir.

From the rootdir, the folder structure should be like this:

GlossaryDecks
    MyGlossasyDeckName
        1.png
        1cn.mp3
        1en.mp3 (optional for now)
        1es.mp3 (optional for now)
        meta.json (will be auto generated. Do not touch the ids in here)

ParrotDecks
    MyParrotDeckName
        1.png
        1cn.mp3
        1en.mp3 (optional for now)
        1es.mp3 (optional for now)
        meta.json (will be auto generated. Do not touch the ids in here)

PairDecks
    MyPairDeckName
        1-1.png
        1-1cn.mp3
        1-1en.mp3 (optional for now)
        1-1es.mp3 (optional for now)
        1-2.png
        1-2cn.mp3
        1-2en.mp3 (optional for now)
        1-2es.mp3 (optional for now)
        meta.json (will be auto generated. Do not touch the ids in here)

help

Can be run by

mtgame-cli --help

Shows this help text

FAQs

Package last updated on 16 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts