class documentation

class PluginsRequirementsCommand(Command): (source)

View In Hierarchy

Handles package requirements for plugins.

Examples:

# Print requirements for a plugin
fiftyone plugins requirements <name> --print

# Install any requirements for the plugin
fiftyone plugins requirements <name> --install

# Ensures that the requirements for the plugin are satisfied
fiftyone plugins requirements <name> --ensure
Static Method execute Executes the command on the given args.
Static Method setup Setup the command-line arguments for the command.
@staticmethod
def execute(parser, args): (source)

Executes the command on the given args.

Parameters
parserthe argparse.ArgumentParser instance for the command
argsan argparse.Namespace instance containing the arguments for the command
@staticmethod
def setup(parser): (source)

Setup the command-line arguments for the command.

Parameters
parseran argparse.ArgumentParser instance