Skip to content

Commit

Permalink
export the new commands
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Jul 8, 2024
1 parent fa6971b commit f953d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/nu-git-manager-sugar/nu-git-manager-sugar/git/mod.nu
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ export def "gm repo bisect" [
}


def "gm repo zip" [rev: string, --head (-h): string = "HEAD", --out (-o): path = "a.zip"] {
export def "gm repo zip" [rev: string, --head (-h): string = "HEAD", --out (-o): path = "a.zip"] {
let tmp = mktemp --tmpdir XXXXXXX --directory
log info $"dumping patches to (ansi purple)($tmp)(ansi reset)"

Expand All @@ -550,7 +550,7 @@ def "gm repo zip" [rev: string, --head (-h): string = "HEAD", --out (-o): path =
^zip $out ...$patches
}

def "gm repo unzip" [zip: path] {
export def "gm repo unzip" [zip: path] {
let tmp = mktemp --tmpdir XXXXXXX --directory
log info $"unzipping (ansi purple)($zip)(ansi reset) to (ansi purple)($tmp)(ansi reset)"

Expand Down

0 comments on commit f953d95

Please sign in to comment.