Crate nix_shell_gen

Source

Modules§

commands 🔒
config 🔒
flake_editor 🔒
templates 🔒

Structs§

AddArgs 🔒
@struct AddArgs @brief Arguments for the add subcommand.
Cli 🔒
@brief A CLI to declaratively generate and manage Nix flake development shells.
InitArgs 🔒
@struct InitArgs @brief Arguments for the init subcommand.

Enums§

Commands 🔒
@enum Commands @brief Supported subcommands for the CLI.

Functions§

main 🔒
@brief Entry point for the CLI application.
parse_flake_input 🔒
@brief Parses a flake URL into a (key, url) tuple. @details Example: “github:owner/repo” -> (“repo”, “github:owner/repo”) Example: “github:owner/repo~branch” -> (“repo”, “github:owner/repo~branch”) @param url The flake URL to parse. @return A tuple containing the key and the original URL.
parse_input_to_pkg_string 🔒
@brief Parses a flake URL into a package string. @details Example: “github:owner/repo” -> “repo.packages.${system}.default” @param url The flake URL to parse. @return The package string following the standard convention for flake packages.