Flox Package Database 1
CRUD Operations on Nix Package Metadata
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
flox::parse::DescriptorCommand Class Reference

Parse a descriptor into a set of flox::pkgdb::PkgQueryArgs. More...

#include <command.hh>

Public Member Functions

 DescriptorCommand ()
 
command::VerboseParsergetParser ()
 
int run ()
 Execute the descriptor routine.
 

Private Attributes

command::VerboseParser parser
 
resolver::ManifestDescriptor descriptor
 
std::string format = "manifest"
 

Detailed Description

Parse a descriptor into a set of flox::pkgdb::PkgQueryArgs.

Constructor & Destructor Documentation

◆ DescriptorCommand()

flox::parse::DescriptorCommand::DescriptorCommand ( )

Allowed values are "manifest" and "query"

Member Function Documentation

◆ run()

int flox::parse::DescriptorCommand::run ( )

Execute the descriptor routine.

Returns
EXIT_SUCCESS or EXIT_FAILURE.

Member Data Documentation

◆ parser

command::VerboseParser flox::parse::DescriptorCommand::parser
private

Query arguments and inputs parser


The documentation for this class was generated from the following files: