View .md

FeatherWings CLI reference

Every featherwings command and flag: configure, diagnostics, node-backup, update and the daemon itself, generated from the Wings source.

Last synced from FeatherWings dc70814 on .

On this page

The binary is installed as /usr/local/bin/featherwings. Run it as root.

Commands

featherwings configure

Configure FeatherWings using panel join-data Writes config.yml from the join data the panel shows on the node page, and can install the systemd service. Join data can also come from the FEATHERWINGS_JOIN_DATA environment variable. With --panel-url instead, it runs the quick-setup flow against the panel.

FlagTypeDefaultDescription
--join-datastringBase64-encoded bootstrap YAML from FeatherPanel
--config -cstring/etc/featherpanel/config.ymlPath to write config.yml
--overrideboolfalseReplace an existing configuration file
--quiet -qboolfalseSuppress animated output
--allow-insecureboolfalseSkip TLS certificate verification when fetching config from the panel
--install-serviceboolfalseInstall, enable, and start the featherwings systemd unit without prompting
--no-serviceboolfalseSkip systemd service installation
--panel-urlstringFeatherPanel base URL for non-interactive quick setup
--node-namestringNode name for non-interactive quick setup
--node-fqdnstringNode FQDN for non-interactive quick setup
--location-idint0Game location ID for non-interactive quick setup
--keep-oauth-keyboolfalseKeep the temporary OAuth API key on the panel after setup
--callback-hoststringPublic IP of this node for quick setup defaults

Source: cmd/configure.go

featherwings diagnostics

Collect and report information about this Wings instance to assist in debugging. Prints a report with the Wings, Docker, kernel and OS versions, the main config values and recent logs. It asks whether to include endpoints (panel URL, listen addresses; otherwise shown as {redacted}) and logs, then offers to upload the report to MythicalSystems Paste so you can share the link with support.

FlagTypeDefaultDescription
--paste-api-urlstringhttps://pastes.mythicalsystems.org/logthe MythicalSystems pastes (mclo.gs-compatible) API endpoint to use for uploads
--mclogs-api-urlstringhttps://pastes.mythicalsystems.org/logdeprecated: use --paste-api-url
--log-linesint200the number of log lines to include in the report

Source: cmd/diagnostics.go

featherwings node-backup

Create, list, restore, and migrate whole-node Wings backups. Whole-node backups taken by Wings itself, separate from per-server backups. See Node backups.

Source: cmd/node_backup.go

featherwings node-backup create

Create a local node backup archive Modes: volumes (default) archives the server data directory; user_backups_only archives the stored server backups; full archives both plus config.yml.

FlagTypeDefaultDescription
--modestringvolumesvolumes | full | user_backups_only

Source: cmd/node_backup.go

featherwings node-backup list

List local node backups

Source: cmd/node_backup.go

featherwings node-backup restore [uuid]

Restore a local node backup by UUID

Source: cmd/node_backup.go

featherwings node-backup delete [uuid]

Delete a local node backup

Source: cmd/node_backup.go

featherwings node-backup export

Create a migration package (full mode) Builds a full migration package you can copy to a new machine and import there.

FlagTypeDefaultDescription
--outstring/var/lib/featherpanel/wings_migrationsoptional directory to copy a named migration artifact into

Source: cmd/node_backup.go

featherwings node-backup import

Import a migration or backup archive from a file path

FlagTypeDefaultDescription
--filestringpath to featherwings_*.tar.gz archive

Source: cmd/node_backup.go

featherwings

Runs the API server allowing programmatic control of game servers for FeatherPanel Panel. Starts the daemon. The systemd unit runs this. --config and --debug are persistent and work with every subcommand.

FlagTypeDefaultDescription
--configstring/etc/featherpanel/config.ymlset the location for the configuration file
--debugboolfalsepass in order to run wings in debug mode
--pprofboolfalseif the pprof profiler should be enabled. The profiler will bind to localhost:6060 by default
--pprof-block-rateint0enables block profile support, may have performance impacts
--pprof-portint6060If provided with --pprof, the port it will run on
--auto-tlsboolfalsepass in order to have wings generate and manage its own SSL certificates using Let's Encrypt
--tls-hostnamestringrequired with --auto-tls, the FQDN for the generated SSL certificate
--ignore-certificate-errorsboolfalseignore certificate verification errors when executing API calls

Source: cmd/root.go

featherwings version

Prints the current executable version and exits.

Source: cmd/root.go

featherwings update

Update wings to the latest version Replaces the running binary with the latest release, checking its SHA-256 unless you disable that. If you installed the APT package, prefer updating with apt so the package manager stays in sync.

FlagTypeDefaultDescription
--repo-ownerstringGitHub repository owner (defaults to system.updates.repo_owner)
--repo-namestringGitHub repository name (defaults to system.updates.repo_name)
--forceboolfalseForce update even if on latest version
--from-urlstringDirect URL to download the updated wings binary
--from-url-sha256stringExpected SHA256 checksum for the --from-url download
--disable-checksumboolfalseSkip checksum verification (use with caution)

Source: cmd/selfupdate.go

Written from the source:FeatherWings/cmd