From 55ff605cae0a028553253a8245cecda6e54ea6ef Mon Sep 17 00:00:00 2001 From: Robert Attard Date: Tue, 12 Mar 2024 22:15:03 -0400 Subject: [PATCH] remove glint.group_flag_tuple --- src/glint.gleam | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/glint.gleam b/src/glint.gleam index 100a8d1..9ddfe67 100644 --- a/src/glint.gleam +++ b/src/glint.gleam @@ -321,19 +321,6 @@ pub fn group_flag( ) } -/// Add a flag for a group of commands. -/// The provided flags will be available to all commands at or beyond the provided path -/// -/// This is a convenience function and calls `glint.group_flag` under the hood. -/// -pub fn group_flag_tuple( - in glint: Glint(a), - at path: List(String), - of flag: #(String, flag.Builder(_)), -) -> Glint(a) { - group_flag(in: glint, at: path, for: flag.0, of: flag.1) -} - /// add a group flag to a command node /// descend recursively down the command tree to find the node that the flag should be inserted at ///