Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
louiss0 authored Oct 18, 2024
2 parents 8663b0b + 04c7078 commit 2bcf2ab
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions modules/yadm/mod.nu
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ flag_record:record # A object filled all known flags and their values.
"
span: (metadata $flag_record).span
}

help: $"Please use one of these ($joined_acceptable_bash_types) for each flag"
}

Expand Down Expand Up @@ -305,7 +306,7 @@ export module config {
}

export def main [
key:string@generate_dot_value_and_descriptions
key:string@generate_dot_value_and_descriptions
value?:any@get_auto_complete_value_based_on_what_context_gets_from_yadm_config_characteristics_type
--global
--local
Expand Down Expand Up @@ -349,8 +350,8 @@ export def main [
error make {
msg: 'Invalid Argument',
label:{
text: $"This key (string) is invalid"
span: (metadata string).span
text: $"This key ($key) is invalid"
span: (metadata $key).span
}
}

Expand Down Expand Up @@ -512,7 +513,7 @@ export module git-crypt {
# Export a symmetric secret key
export def export-key [key_file_path:string] {

bash_yadm git-crypt export-key string_file_path
bash_yadm git-crypt export-key $key_file_path

}

Expand Down Expand Up @@ -937,7 +938,7 @@ export module show {
export def pop [
--index
--quiet(-q)
stash:string
stash:string
] {

bash_yadm stash pop $stash ...(
Expand All @@ -952,7 +953,7 @@ export module show {
export def apply [
--index
--quiet(-q)
stash:string
stash:string
] {

bash_yadm stash apply $stash ...(
Expand Down Expand Up @@ -1101,7 +1102,7 @@ export module show {
}

export def get-url [--all --push,name:string] {

bash_yadm remote get-url $name ...(
generate_viable_bash_string_flags {
push:$push
Expand Down Expand Up @@ -1873,8 +1874,8 @@ export module commit {
...pathspec:string
] {


bash_yadm commit ...$pathspec ...(

generate_viable_bash_string_flags {
all:$all
patch:$patch
Expand Down Expand Up @@ -3317,7 +3318,7 @@ export module grep {
}


}
}

export def reset [
--quiet(-q)
Expand Down Expand Up @@ -3648,7 +3649,6 @@ export module grep {
ipv6:$ipv6
}


match [($repository | describe) ($refspec | describe)] {

[string string] => (bash yadm pull $repository $refspec ...$viable_bash_string_flags)
Expand Down

0 comments on commit 2bcf2ab

Please sign in to comment.