list-features

Lists features available when creating a domain This command outputs information about Virtualmin features that are available on this system. It is useful for scripts that are designed to run on many systems and need to check if some feature is available before creating a virtual server or enabling it for a domain. By default it lists features available for new top-level servers. However, you can limit it to those that are available for a sub-server with the --parent flag, followed by a top-level server name. Similarly, the --alias and --subdom flags can be used to show features for an alias or sub-domain respectively.

Lists features available when creating a domain#

This command outputs information about Virtualmin features that are available on this system. It is useful for scripts that are designed to run on many systems and need to check if some feature is available before creating a virtual server or enabling it for a domain.

By default it lists features available for new top-level servers. However, you can limit it to those that are available for a sub-server with the --parent flag, followed by a top-level server name. Similarly, the --alias and --subdom flags can be used to show features for an alias or sub-domain respectively.

Output is in table format by default, but you can switch to a more detailed and easily parsed list with the --multiline flag. Or to just get a list of feature codes, use the --name-only parameter.

Command line help#

virtualmin list-features [--multiline | --name-only]
 [--parent name | --subdom name | --alias name]

Source: https://www.virtualmin.com/docs/development/api-programs/list-features/

  • virtualmin, domain, alias, command line, script, list, features
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...