Narnia's Psychedelic Mushrooms

    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]

    Install

    npm i controlpanel-cli

    DownloadsWeekly Downloads

    1

    Version

    0.2.0

    License

    ISC

    Unpacked Size

    19.3 kB

    Total Files

    10

    Last publish

    Collaborators

    • darkguy10