xops host import
Command usage and available options are listed below. Check --help for options supported by your installed version.
text
Import hosts, usernames and credentials from CSV. By default, save only nodes that pass SSH verification; failed rows are reported as not saved and existing configuration is left unchanged. Supported headers: host, port, alias, user, password, key, keypass. Use --skip-verify to save without checking, or --save-on-verify-failure to check but save even on failure. These options are mutually exclusive.
Usage:
xops host import [csv_file] [flags]
Aliases:
import, load
Flags:
-h, --help help for import
--save-on-verify-failure Verify SSH but save even if verification fails; still report failures
--skip-verify Skip SSH verification and save directly
-t, --tag string Add imported hosts to specified tag group
-T, --template string Export CSV import template to file
Global Flags:
--color string ANSI color output (auto=detect pipe/redirect, never=disable, always=force enable)
--debug Enable debug mode (equivalent to --log-level=debug)
--lang string Interface language (zh/en)
--log-level string Set internal diagnostic log level (debug, info, warn, error)