Skip to content

Commit

Permalink
feat: ugit action -NoPush ( Fixes #319 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Oct 15, 2024
2 parents f6b50b6 + cd49d7a commit 13326c9
Show file tree
Hide file tree
Showing 25 changed files with 369 additions and 43 deletions.
2 changes: 1 addition & 1 deletion docs/System/IO/FileInfo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
### Script Methods


* [GitChanges](GitChanges.md)
* [GitChanges()](GitChanges.md)
39 changes: 39 additions & 0 deletions docs/_data/Help/Get-UGitExtension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"Synopsis": "Gets Extensions",
"Description": "Gets Extensions.\n\nUGitExtension can be found in:\n\n* Any module that includes -UGitExtensionModuleName in it's tags.\n* The directory specified in -UGitExtensionPath\n* Commands that meet the naming criteria",
"Parameters": [
{
"Name": null,
"Type": null,
"Description": "",
"Required": false,
"Position": 0,
"Aliases": null,
"DefaultValue": null,
"Globbing": false,
"PipelineInput": null,
"variableLength": false
}
],
"Notes": [
null
],
"CommandType": "Function",
"Component": [
null
],
"Inputs": [
null
],
"Outputs": [
"Extension"
],
"Links": [],
"Examples": [
{
"Title": "EXAMPLE 1",
"Markdown": "",
"Code": "Get-UGitExtension"
}
]
}
56 changes: 56 additions & 0 deletions docs/_data/Help/Out-Git.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"Synopsis": "Outputs Git to PowerShell",
"Description": "Outputs Git as PowerShell Objects.\n\nGit Output can be provided by any number of extensions to Out-Git.\n\nExtensions use two attributes to indicate if they should be run:\n\n~~~PowerShell\n[Management.Automation.Cmdlet(\"Out\",\"Git\")] # This signals that this is an extension for Out-Git\n[ValidatePattern(\"RegularExpression\")] # This is run on $GitCommand to determine if the extension should run.\n~~~",
"Parameters": [
{
"Name": null,
"Type": null,
"Description": "",
"Required": false,
"Position": 0,
"Aliases": null,
"DefaultValue": null,
"Globbing": false,
"PipelineInput": null,
"variableLength": false
}
],
"Notes": [
"Out-Git will generate two events upon completion. They will have the source identifiers of \"Out-Git\" and \"Out-Git $GitArgument\""
],
"CommandType": "Function",
"Component": [
null
],
"Inputs": [
null
],
"Outputs": [
null
],
"Links": [
null
],
"Examples": [
{
"Title": "EXAMPLE 1",
"Markdown": "Log entries are returned as objects, with properties and methods.",
"Code": "git log -n 1 | Get-Member"
},
{
"Title": "EXAMPLE 2",
"Markdown": "Status entries are converted into objects.",
"Code": "git status"
},
{
"Title": "EXAMPLE 3",
"Markdown": "Display untracked files.",
"Code": "git status | Select-Object -ExpandProperty Untracked"
},
{
"Title": "EXAMPLE 4",
"Markdown": "Display the list of branches, as objects.",
"Code": "git branch"
}
]
}
56 changes: 56 additions & 0 deletions docs/_data/Help/Use-Git.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"Synopsis": "Use Git",
"Description": "Calls the git application, with whatever arguments are provided.\n\nArguments can be provided with -GitArgument, which will automatically be bound to all parameters provided without a name.\n\nInput can also be piped in.\n\nIf the input is a directory, Use-Git will Push-Location that directory.\nOtherwise, it will be passed as a positional argument (after any other arguments).\n\nUse-Git will combine errors and output, so that git output to standard error is handled without difficulty.",
"Parameters": [
{
"Name": null,
"Type": null,
"Description": "",
"Required": false,
"Position": 0,
"Aliases": null,
"DefaultValue": null,
"Globbing": false,
"PipelineInput": null,
"variableLength": false
}
],
"Notes": [
"Use-Git will generate two events before git runs. They will have the source identifiers of \"Use-Git\" and \"Use-Git $GitArgument\""
],
"CommandType": "Function",
"Component": [
null
],
"Inputs": [
null
],
"Outputs": [
null
],
"Links": [
null
],
"Examples": [
{
"Title": "EXAMPLE 1",
"Markdown": "Log entries are returned as objects, with properties and methods.",
"Code": "git log -n 1 | Get-Member"
},
{
"Title": "EXAMPLE 2",
"Markdown": "Status entries are converted into objects.",
"Code": "git status"
},
{
"Title": "EXAMPLE 3",
"Markdown": "Display untracked files.",
"Code": "git status | Select-Object -ExpandProperty Untracked"
},
{
"Title": "EXAMPLE 4",
"Markdown": "Display the list of branches, as objects.",
"Code": "git branch"
}
]
}
56 changes: 56 additions & 0 deletions docs/_data/Help/git.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"Synopsis": "Use Git",
"Description": "Calls the git application, with whatever arguments are provided.\n\nArguments can be provided with -GitArgument, which will automatically be bound to all parameters provided without a name.\n\nInput can also be piped in.\n\nIf the input is a directory, Use-Git will Push-Location that directory.\nOtherwise, it will be passed as a positional argument (after any other arguments).\n\nUse-Git will combine errors and output, so that git output to standard error is handled without difficulty.",
"Parameters": [
{
"Name": null,
"Type": null,
"Description": "",
"Required": false,
"Position": 0,
"Aliases": null,
"DefaultValue": null,
"Globbing": false,
"PipelineInput": null,
"variableLength": false
}
],
"Notes": [
"Use-Git will generate two events before git runs. They will have the source identifiers of \"Use-Git\" and \"Use-Git $GitArgument\""
],
"CommandType": "Function",
"Component": [
null
],
"Inputs": [
null
],
"Outputs": [
null
],
"Links": [
null
],
"Examples": [
{
"Title": "EXAMPLE 1",
"Markdown": "Log entries are returned as objects, with properties and methods.",
"Code": "git log -n 1 | Get-Member"
},
{
"Title": "EXAMPLE 2",
"Markdown": "Status entries are converted into objects.",
"Code": "git status"
},
{
"Title": "EXAMPLE 3",
"Markdown": "Display untracked files.",
"Code": "git status | Select-Object -ExpandProperty Untracked"
},
{
"Title": "EXAMPLE 4",
"Markdown": "Display the list of branches, as objects.",
"Code": "git branch"
}
]
}
56 changes: 56 additions & 0 deletions docs/_data/Help/gitreal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"Synopsis": "Use Git",
"Description": "Calls the git application, with whatever arguments are provided.\n\nArguments can be provided with -GitArgument, which will automatically be bound to all parameters provided without a name.\n\nInput can also be piped in.\n\nIf the input is a directory, Use-Git will Push-Location that directory.\nOtherwise, it will be passed as a positional argument (after any other arguments).\n\nUse-Git will combine errors and output, so that git output to standard error is handled without difficulty.",
"Parameters": [
{
"Name": null,
"Type": null,
"Description": "",
"Required": false,
"Position": 0,
"Aliases": null,
"DefaultValue": null,
"Globbing": false,
"PipelineInput": null,
"variableLength": false
}
],
"Notes": [
"Use-Git will generate two events before git runs. They will have the source identifiers of \"Use-Git\" and \"Use-Git $GitArgument\""
],
"CommandType": "Function",
"Component": [
null
],
"Inputs": [
null
],
"Outputs": [
null
],
"Links": [
null
],
"Examples": [
{
"Title": "EXAMPLE 1",
"Markdown": "Log entries are returned as objects, with properties and methods.",
"Code": "git log -n 1 | Get-Member"
},
{
"Title": "EXAMPLE 2",
"Markdown": "Status entries are converted into objects.",
"Code": "git status"
},
{
"Title": "EXAMPLE 3",
"Markdown": "Display untracked files.",
"Code": "git status | Select-Object -ExpandProperty Untracked"
},
{
"Title": "EXAMPLE 4",
"Markdown": "Display the list of branches, as objects.",
"Code": "git branch"
}
]
}
56 changes: 56 additions & 0 deletions docs/_data/Help/realgit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"Synopsis": "Use Git",
"Description": "Calls the git application, with whatever arguments are provided.\n\nArguments can be provided with -GitArgument, which will automatically be bound to all parameters provided without a name.\n\nInput can also be piped in.\n\nIf the input is a directory, Use-Git will Push-Location that directory.\nOtherwise, it will be passed as a positional argument (after any other arguments).\n\nUse-Git will combine errors and output, so that git output to standard error is handled without difficulty.",
"Parameters": [
{
"Name": null,
"Type": null,
"Description": "",
"Required": false,
"Position": 0,
"Aliases": null,
"DefaultValue": null,
"Globbing": false,
"PipelineInput": null,
"variableLength": false
}
],
"Notes": [
"Use-Git will generate two events before git runs. They will have the source identifiers of \"Use-Git\" and \"Use-Git $GitArgument\""
],
"CommandType": "Function",
"Component": [
null
],
"Inputs": [
null
],
"Outputs": [
null
],
"Links": [
null
],
"Examples": [
{
"Title": "EXAMPLE 1",
"Markdown": "Log entries are returned as objects, with properties and methods.",
"Code": "git log -n 1 | Get-Member"
},
{
"Title": "EXAMPLE 2",
"Markdown": "Status entries are converted into objects.",
"Code": "git status"
},
{
"Title": "EXAMPLE 3",
"Markdown": "Display untracked files.",
"Code": "git status | Select-Object -ExpandProperty Untracked"
},
{
"Title": "EXAMPLE 4",
"Markdown": "Display the list of branches, as objects.",
"Code": "git branch"
}
]
}
4 changes: 2 additions & 2 deletions docs/git/error/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## git.error


### Script Methods
### Script Properties


* [UnknownRevision](UnknownRevision.md)
* [get_UnknownRevision](get_UnknownRevision.md)
4 changes: 2 additions & 2 deletions docs/git/error/get_UnknownRevision.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
git.error.get_UnknownRevision()
-------------------------------
get_UnknownRevision
-------------------

### Synopsis
Gets Unknown Revisions
Expand Down
21 changes: 13 additions & 8 deletions docs/git/log/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
## git.log


### Script Properties


* [get_Change](get_Change.md)
* [get_CommitDate](get_CommitDate.md)
* [get_CommitType](get_CommitType.md)
* [get_Description](get_Description.md)
* [get_JiraTicket](get_JiraTicket.md)
* [get_Scope](get_Scope.md)
* [get_Trailer](get_Trailer.md)


### Script Methods


* [GetNote](GetNote.md)
* [Change](Change.md)
* [CommitDate](CommitDate.md)
* [CommitType](CommitType.md)
* [Description](Description.md)
* [JiraTicket](JiraTicket.md)
* [Scope](Scope.md)
* [Trailer](Trailer.md)
* [GetNote()](GetNote.md)
4 changes: 2 additions & 2 deletions docs/git/log/get_Change.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
git.log.get_Change()
--------------------
get_Change
----------

### Synopsis
Gets the changes in a git commit
Expand Down
4 changes: 2 additions & 2 deletions docs/git/log/get_CommitDate.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
git.log.get_CommitDate()
------------------------
get_CommitDate
--------------

### Synopsis
Gets the date of a git log
Expand Down
Loading

0 comments on commit 13326c9

Please sign in to comment.