Skip to content

Commit 13326c9

Browse files
author
James Brundage
committed
feat: ugit action -NoPush ( Fixes #319 )
2 parents f6b50b6 + cd49d7a commit 13326c9

25 files changed

+369
-43
lines changed

docs/System/IO/FileInfo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
### Script Methods
55

66

7-
* [GitChanges](GitChanges.md)
7+
* [GitChanges()](GitChanges.md)
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"Synopsis": "Gets Extensions",
3+
"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",
4+
"Parameters": [
5+
{
6+
"Name": null,
7+
"Type": null,
8+
"Description": "",
9+
"Required": false,
10+
"Position": 0,
11+
"Aliases": null,
12+
"DefaultValue": null,
13+
"Globbing": false,
14+
"PipelineInput": null,
15+
"variableLength": false
16+
}
17+
],
18+
"Notes": [
19+
null
20+
],
21+
"CommandType": "Function",
22+
"Component": [
23+
null
24+
],
25+
"Inputs": [
26+
null
27+
],
28+
"Outputs": [
29+
"Extension"
30+
],
31+
"Links": [],
32+
"Examples": [
33+
{
34+
"Title": "EXAMPLE 1",
35+
"Markdown": "",
36+
"Code": "Get-UGitExtension"
37+
}
38+
]
39+
}

docs/_data/Help/Out-Git.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"Synopsis": "Outputs Git to PowerShell",
3+
"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~~~",
4+
"Parameters": [
5+
{
6+
"Name": null,
7+
"Type": null,
8+
"Description": "",
9+
"Required": false,
10+
"Position": 0,
11+
"Aliases": null,
12+
"DefaultValue": null,
13+
"Globbing": false,
14+
"PipelineInput": null,
15+
"variableLength": false
16+
}
17+
],
18+
"Notes": [
19+
"Out-Git will generate two events upon completion. They will have the source identifiers of \"Out-Git\" and \"Out-Git $GitArgument\""
20+
],
21+
"CommandType": "Function",
22+
"Component": [
23+
null
24+
],
25+
"Inputs": [
26+
null
27+
],
28+
"Outputs": [
29+
null
30+
],
31+
"Links": [
32+
null
33+
],
34+
"Examples": [
35+
{
36+
"Title": "EXAMPLE 1",
37+
"Markdown": "Log entries are returned as objects, with properties and methods.",
38+
"Code": "git log -n 1 | Get-Member"
39+
},
40+
{
41+
"Title": "EXAMPLE 2",
42+
"Markdown": "Status entries are converted into objects.",
43+
"Code": "git status"
44+
},
45+
{
46+
"Title": "EXAMPLE 3",
47+
"Markdown": "Display untracked files.",
48+
"Code": "git status | Select-Object -ExpandProperty Untracked"
49+
},
50+
{
51+
"Title": "EXAMPLE 4",
52+
"Markdown": "Display the list of branches, as objects.",
53+
"Code": "git branch"
54+
}
55+
]
56+
}

docs/_data/Help/Use-Git.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"Synopsis": "Use Git",
3+
"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.",
4+
"Parameters": [
5+
{
6+
"Name": null,
7+
"Type": null,
8+
"Description": "",
9+
"Required": false,
10+
"Position": 0,
11+
"Aliases": null,
12+
"DefaultValue": null,
13+
"Globbing": false,
14+
"PipelineInput": null,
15+
"variableLength": false
16+
}
17+
],
18+
"Notes": [
19+
"Use-Git will generate two events before git runs. They will have the source identifiers of \"Use-Git\" and \"Use-Git $GitArgument\""
20+
],
21+
"CommandType": "Function",
22+
"Component": [
23+
null
24+
],
25+
"Inputs": [
26+
null
27+
],
28+
"Outputs": [
29+
null
30+
],
31+
"Links": [
32+
null
33+
],
34+
"Examples": [
35+
{
36+
"Title": "EXAMPLE 1",
37+
"Markdown": "Log entries are returned as objects, with properties and methods.",
38+
"Code": "git log -n 1 | Get-Member"
39+
},
40+
{
41+
"Title": "EXAMPLE 2",
42+
"Markdown": "Status entries are converted into objects.",
43+
"Code": "git status"
44+
},
45+
{
46+
"Title": "EXAMPLE 3",
47+
"Markdown": "Display untracked files.",
48+
"Code": "git status | Select-Object -ExpandProperty Untracked"
49+
},
50+
{
51+
"Title": "EXAMPLE 4",
52+
"Markdown": "Display the list of branches, as objects.",
53+
"Code": "git branch"
54+
}
55+
]
56+
}

docs/_data/Help/git.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"Synopsis": "Use Git",
3+
"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.",
4+
"Parameters": [
5+
{
6+
"Name": null,
7+
"Type": null,
8+
"Description": "",
9+
"Required": false,
10+
"Position": 0,
11+
"Aliases": null,
12+
"DefaultValue": null,
13+
"Globbing": false,
14+
"PipelineInput": null,
15+
"variableLength": false
16+
}
17+
],
18+
"Notes": [
19+
"Use-Git will generate two events before git runs. They will have the source identifiers of \"Use-Git\" and \"Use-Git $GitArgument\""
20+
],
21+
"CommandType": "Function",
22+
"Component": [
23+
null
24+
],
25+
"Inputs": [
26+
null
27+
],
28+
"Outputs": [
29+
null
30+
],
31+
"Links": [
32+
null
33+
],
34+
"Examples": [
35+
{
36+
"Title": "EXAMPLE 1",
37+
"Markdown": "Log entries are returned as objects, with properties and methods.",
38+
"Code": "git log -n 1 | Get-Member"
39+
},
40+
{
41+
"Title": "EXAMPLE 2",
42+
"Markdown": "Status entries are converted into objects.",
43+
"Code": "git status"
44+
},
45+
{
46+
"Title": "EXAMPLE 3",
47+
"Markdown": "Display untracked files.",
48+
"Code": "git status | Select-Object -ExpandProperty Untracked"
49+
},
50+
{
51+
"Title": "EXAMPLE 4",
52+
"Markdown": "Display the list of branches, as objects.",
53+
"Code": "git branch"
54+
}
55+
]
56+
}

docs/_data/Help/gitreal.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"Synopsis": "Use Git",
3+
"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.",
4+
"Parameters": [
5+
{
6+
"Name": null,
7+
"Type": null,
8+
"Description": "",
9+
"Required": false,
10+
"Position": 0,
11+
"Aliases": null,
12+
"DefaultValue": null,
13+
"Globbing": false,
14+
"PipelineInput": null,
15+
"variableLength": false
16+
}
17+
],
18+
"Notes": [
19+
"Use-Git will generate two events before git runs. They will have the source identifiers of \"Use-Git\" and \"Use-Git $GitArgument\""
20+
],
21+
"CommandType": "Function",
22+
"Component": [
23+
null
24+
],
25+
"Inputs": [
26+
null
27+
],
28+
"Outputs": [
29+
null
30+
],
31+
"Links": [
32+
null
33+
],
34+
"Examples": [
35+
{
36+
"Title": "EXAMPLE 1",
37+
"Markdown": "Log entries are returned as objects, with properties and methods.",
38+
"Code": "git log -n 1 | Get-Member"
39+
},
40+
{
41+
"Title": "EXAMPLE 2",
42+
"Markdown": "Status entries are converted into objects.",
43+
"Code": "git status"
44+
},
45+
{
46+
"Title": "EXAMPLE 3",
47+
"Markdown": "Display untracked files.",
48+
"Code": "git status | Select-Object -ExpandProperty Untracked"
49+
},
50+
{
51+
"Title": "EXAMPLE 4",
52+
"Markdown": "Display the list of branches, as objects.",
53+
"Code": "git branch"
54+
}
55+
]
56+
}

docs/_data/Help/realgit.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"Synopsis": "Use Git",
3+
"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.",
4+
"Parameters": [
5+
{
6+
"Name": null,
7+
"Type": null,
8+
"Description": "",
9+
"Required": false,
10+
"Position": 0,
11+
"Aliases": null,
12+
"DefaultValue": null,
13+
"Globbing": false,
14+
"PipelineInput": null,
15+
"variableLength": false
16+
}
17+
],
18+
"Notes": [
19+
"Use-Git will generate two events before git runs. They will have the source identifiers of \"Use-Git\" and \"Use-Git $GitArgument\""
20+
],
21+
"CommandType": "Function",
22+
"Component": [
23+
null
24+
],
25+
"Inputs": [
26+
null
27+
],
28+
"Outputs": [
29+
null
30+
],
31+
"Links": [
32+
null
33+
],
34+
"Examples": [
35+
{
36+
"Title": "EXAMPLE 1",
37+
"Markdown": "Log entries are returned as objects, with properties and methods.",
38+
"Code": "git log -n 1 | Get-Member"
39+
},
40+
{
41+
"Title": "EXAMPLE 2",
42+
"Markdown": "Status entries are converted into objects.",
43+
"Code": "git status"
44+
},
45+
{
46+
"Title": "EXAMPLE 3",
47+
"Markdown": "Display untracked files.",
48+
"Code": "git status | Select-Object -ExpandProperty Untracked"
49+
},
50+
{
51+
"Title": "EXAMPLE 4",
52+
"Markdown": "Display the list of branches, as objects.",
53+
"Code": "git branch"
54+
}
55+
]
56+
}

docs/git/error/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## git.error
22

33

4-
### Script Methods
4+
### Script Properties
55

66

7-
* [UnknownRevision](UnknownRevision.md)
7+
* [get_UnknownRevision](get_UnknownRevision.md)

docs/git/error/get_UnknownRevision.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
git.error.get_UnknownRevision()
2-
-------------------------------
1+
get_UnknownRevision
2+
-------------------
33

44
### Synopsis
55
Gets Unknown Revisions

docs/git/log/README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
## git.log
22

33

4+
### Script Properties
5+
6+
7+
* [get_Change](get_Change.md)
8+
* [get_CommitDate](get_CommitDate.md)
9+
* [get_CommitType](get_CommitType.md)
10+
* [get_Description](get_Description.md)
11+
* [get_JiraTicket](get_JiraTicket.md)
12+
* [get_Scope](get_Scope.md)
13+
* [get_Trailer](get_Trailer.md)
14+
15+
416
### Script Methods
517

618

7-
* [GetNote](GetNote.md)
8-
* [Change](Change.md)
9-
* [CommitDate](CommitDate.md)
10-
* [CommitType](CommitType.md)
11-
* [Description](Description.md)
12-
* [JiraTicket](JiraTicket.md)
13-
* [Scope](Scope.md)
14-
* [Trailer](Trailer.md)
19+
* [GetNote()](GetNote.md)

0 commit comments

Comments
 (0)