gamehub-cli v1.0.4
GameHub CLI
The GameHub CLI is a command-line tool for game developers to upload and manage their game assets on the GameHub platform. This CLI offers functionalities for logging in, initializing configurations, building and uploading game assets, and more.
Installation
First, ensure you have Node.js installed on your system. Then, install the CLI via npm or yarn:
npm install -g gamehub-cli
# or
yarn global add gamehub-cliCommands & Usage
First, you have to have an account on the GS Dashboard and have access to the GameHub platform.
gamehub login
To login to the GameHub platform, run the following command:
gamehub logingamehub logout
To logout from the GameHub platform, run the following command:
gamehub logoutgamehub whoami
To check the current user, run the following command:
gamehub whoamigamehub init
To initialize the configuration for the current directory with the organization, game, and platform use this command. This command must be run in the root directory of the game project.
gamehub initgamehub info
To get the information about the current game, run the following command:
gamehub infogamehub build
To upload game assets to the GameHub platform, run the following command:
gamehub buildgamehub delete-pending-version
To delete a pending version of the game, run the following command:
gamehub delete-pending-versiongamehub delete-old-version
To delete an old version of the game, run the following command:
gamehub delete-old-version