1.0.0 • Published 4 years ago

@halfbrick/playfab-migrator v1.0.0

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
4 years ago

@halfbrick/playfab-migrator

CLI that performs tasks usually done manually on the playfab dashboard

Installation

NPM

npm install -g @halfbrick/playfab-migrator

Configuration

IMPORTANT: This tool does not currently support accounts that login with Microsoft.

In order to use this CLI you'll need to have a playfab account.

run the following command to configure the CLI:

playfab-migrator config create

this will prompt you for your playfab email address and password, once complete your credentials are saved for future use by the CLI in the following file ~/.playfab/config. you can manage your config through the config command as listed below

Commands

playfab-migrator config [ACTION]

Configure the Dashboard CLI

USAGE
  $ playfab-migrator config ACTION

ARGUMENTS
  ACTION  (create|show|purge) [default: create] Action to perform on the CLI's config

OPTIONS
  -p, --password=password  the password of the account to authenticate the CLI against
  -u, --user=user          the username of the account to authenticate the CLI against

DESCRIPTION
  use this command to ensure your Playfab session is authenticated

playfab-migrator help [COMMAND]

display help for playfab-migrator

USAGE
  $ playfab-migrator help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

playfab-migrator segments ACTION

SEGMENTS MIGRATOR

USAGE
  $ playfab-migrator segments ACTION

ARGUMENTS
  ACTION  (migrate) [default: migrate] Action to perform on a title's segments

OPTIONS
  -d, --destination=destination  (required) Playfab Title ID where the segments should go
  -o, --origin=origin            (required) Playfab Title ID where the segments originate

DESCRIPTION
  This tool allows you to manmage playfab segments in ways that are not covered by the Admin API