class documentation

class DatasetZooDeleteCommand(Command): (source)

View In Hierarchy

Deletes the local copy of the zoo dataset on disk.

Examples:

# Delete a zoo dataset from disk
fiftyone zoo datasets delete <name>

# Delete a remotely-sourced zoo dataset from disk
fiftyone zoo datasets delete https://github.com/<user>/<repo>
fiftyone zoo datasets delete <url>

# Delete a specific split of a zoo dataset from disk
fiftyone zoo datasets delete <name> --split <split>
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