Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
args.hh File Reference
#include "lix/libutil/async.hh"
#include "lix/libutil/experimental-features.hh"
#include "lix/libutil/json-fwd.hh"
#include "lix/libutil/types.hh"
#include "lix/libutil/ref.hh"
#include <functional>
#include <map>
#include <memory>
#include <limits>
#include <optional>
#include <set>
#include <filesystem>

Go to the source code of this file.

Classes

class  nix::Args
struct  nix::Args::Handler
struct  nix::Args::Flag
struct  nix::Args::ExpectedArg
struct  nix::Command
class  nix::MultiCommand
class  nix::ExternalCommand
struct  nix::Completion
class  nix::AddCompletions

Typedefs

using nix::CommandMap = std::map<std::string, std::function<ref<Command>(AsyncIoRoot &)>>

Functions

std::optional< ref< Command > > nix::searchForCustomSubcommand (const std::string_view &command, const Strings &searchPaths)
Strings nix::searchForAllAvailableCustomSubcommands (const std::string_view &prefix, const Strings &searchPaths)