controlpanel-cli

0.2.0 • Public • Published

ControlPanel-cli

A command line tool for ControlPanel dashboard

//config.json
{
    "controlpanel": {
        "host": "",
        "key": ""
    },
    "pterodactyl": {
        "host": "",
        "key": ""
    }
}
# Profile Management
dashboard profiles list
dashboard profiles list PROFILE
dashboard profiles create PROFILE
dashboard profiles remove PROFILE
dashboard profiles use PROFILE

# User Management (default output file: users.json)
dashboard users fetch [--output=FILE.json]

# Server Management (default output file: servers.json)
# NOTE : FLAG CHAINING IS NOT SUPPORTED IN SERVER MANAGEMENT YET
# Using "--egg=EGG --suspended" will delete all servers of that egg irrespective of suspended or not
dashboard servers fetch [--egg=EGG] [--nest=NEST] [--suspended] [--output=FILE.json]
dashboard servers delete [--egg=EGG] [--nest=NEST] [--suspended] [--all]

# Voucher Management (default output file: vouchers.json)
dashboard vouchers fetch [--valid] [--invalid] [--output=FILE.json]
dashboard vouchers delete [--valid] [--invalid] [--all]

Dependents (0)

Package Sidebar

Install

npm i controlpanel-cli

Weekly Downloads

2

Version

0.2.0

License

ISC

Unpacked Size

19.3 kB

Total Files

10

Last publish

Collaborators

  • darkguy10