main_search
#
CLI implementation for conda search.
Query channels for packages matching the provided package spec.
Functions#
|
|
|
Implements conda search commands. |
|
Format a PackageRecord for pretty_record() |
|
Pretty prints a PackageRecord. |
- configure_parser(sub_parsers: argparse._SubParsersAction, **kwargs) argparse.ArgumentParser #
- execute(args: argparse.Namespace, parser: argparse.ArgumentParser) int #
Implements conda search commands.
conda search <spec> searches channels for packages. conda search <spec> --envs searches environments for packages.
- _pretty_record_format(record: conda.models.records.PackageRecord) str #
Format a PackageRecord for pretty_record()
- pretty_record(record: conda.models.records.PackageRecord, print=print) None #
Pretty prints a PackageRecord.
- Parameters:
record -- The PackageRecord object to print.