Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
Extend a command state blob with an attribute path to "target". More...
#include <command.hh>
Public Member Functions | |
argparse::Argument & | addAttrPathArgs (argparse::ArgumentParser &parser) |
Sets the attribute path to be scraped. | |
void | fixupAttrPath () |
Sets fallback attrPath to a package set. | |
Public Attributes | |
flox::AttrPath | attrPath |
Extend a command state blob with an attribute path to "target".
argparse::Argument & flox::command::AttrPathMixin::addAttrPathArgs | ( | argparse::ArgumentParser & | parser | ) |
Sets the attribute path to be scraped.
If no system is given use the current system.
void flox::command::AttrPathMixin::fixupAttrPath | ( | ) |
Sets fallback attrPath
to a package set.
If attrPath
is empty use, packages.<SYTEM>
. If attrPath
is one element then add "current system" as <SYSTEM>
.