Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
args.hh File Reference
#include <functional>
#include <filesystem>
#include <map>
#include <memory>
#include <optional>
#include <nlohmann/json_fwd.hpp>
#include "types.hh"
#include "experimental-features.hh"
#include "ref.hh"

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
 
struct  nix::Completion
 
class  nix::AddCompletions
 

Typedefs

using nix::Commands = std::map<std::string, std::function<ref<Command>()>>
 

Functions

Strings nix::argvToStrings (int argc, char **argv)
 
Strings nix::parseShebangContent (std::string_view s)