-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
an experiment inspired by [`nu_plugin_query_git`](<https://github.com/fdncred/nu_plugin_query_git>) from @fdncred > **Important** > requires [`amtoine/nu_plugin_query_git@9270fa2`](https://github.com/amtoine/nu_plugin_query_git/tree/9270fa2)
- Loading branch information
Showing
7 changed files
with
60 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `nu-git-manager-sugar git gm repo query` | ||
## Description | ||
TODO: documentation | ||
|
||
|
||
|
||
## Parameters | ||
- parameter_name: table | ||
- parameter_type: positional | ||
- syntax_shape: completable<string> | ||
- is_optional: false | ||
- custom_completion: git-query-tables | ||
|
||
## Signatures | ||
| input | output | | ||
| --------- | ------- | | ||
| `nothing` | `table` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export const GIT_QUERY_TABLES = ["refs", "commits", "diffs", "branches", "tags"] | ||
|
||
export def git-query-tables []: nothing -> list<string> { | ||
$GIT_QUERY_TABLES | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters