Function handle_init

Source
pub fn handle_init(args: &InitArgs) -> Result<(), Error>
Expand description

@brief Handles the nix-shell-gen init command.

Initializes a new development shell by generating flake.nix and devshell.toml files based on the provided arguments.

@param args Arguments for initialization. @return Result<(), Error> Returns Ok on success, or an Error if initialization fails.