Skip to content

Commit beca26e

Browse files
committed
(doc) Added additional information to parameters
1 parent bddbd37 commit beca26e

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

docs/commands/add-assets.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Once a draft set of release notes has been created, it is possible to add additi
44

55
## **Required Parameters**
66

7-
* `-u, --username`: The username to access GitHub with.
8-
* `-p, --password`: The password to access GitHub with.
9-
* `--token`: The access token to access GitHub with.
7+
* `-u, --username`: The username to access GitHub with. This can't be used when using the token parameter.
8+
* `-p, --password`: The password to access GitHub with. This can't be used when using the token parameter.
9+
* `--token`: The access token to access GitHub with. This can't be used when using the username and password parameters.
1010
* `-o, --owner`: The owner of the repository.
1111
* `-r, --repository`: The name of the repository.
1212
* `-t, --tagName`: The name of the release (Typically this is the generated SemVer Version Number).
@@ -29,4 +29,4 @@ gitreleasemanager.exe addasset -t 0.1.0 -u bob -p password -o repoOwner -r repo
2929
gitreleasemanager.exe create --tagName 0.1.0 --username bob --password password --owner repoOwner --repository repo --assets c:\buildartifacts\setup.exe,c:\buildartifacts\setup.nupkg
3030

3131
gitreleasemanager.exe create --tagName 0.1.0 --token fsdfsf67657sdf5s7d5f --owner repoOwner --repository repo --assets c:\buildartifacts\setup.exe,c:\buildartifacts\setup.nupkg
32-
```
32+
```

docs/commands/close.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Out of the box, publishing a release on GitHub does not close the milestone asso
44

55
## **Required Parameters**
66

7-
* `-u, --username`: The username to access GitHub with.
8-
* `-p, --password`: The password to access GitHub with.
9-
* `--token`: The access token to access GitHub with.
7+
* `-u, --username`: The username to access GitHub with. This can't be used when using the token parameter.
8+
* `-p, --password`: The password to access GitHub with. This can't be used when using the token parameter.
9+
* `--token`: The access token to access GitHub with. This can't be used when using the username and password parameters.
1010
* `-o, --owner`: The owner of the repository.
1111
* `-r, --repository`: The name of the repository.
1212
* `-m, --milestone`: The milestone to use.
@@ -28,4 +28,4 @@ gitreleasemanager.exe close -m 0.1.0 -u bob -p password -o repoOwner -r repo
2828
gitreleasemanager.exe close --milestone 0.1.0 --username bob --password password --owner repoOwner --repository repo
2929

3030
gitreleasemanager.exe close --milestone 0.1.0 --token fsdfsf67657sdf5s7d5f --owner repoOwner --repository repo
31-
```
31+
```

docs/commands/create.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ There are two modes of operation when creating a Release. GitReleaseManager can
66

77
## **Required Parameters**
88

9-
* `-u, --username`: The username to access GitHub with.
10-
* `-p, --password`: The password to access GitHub with.
11-
* `--token`: The access token to access GitHub with.
9+
* `-u, --username`: The username to access GitHub with. This can't be used when using the token parameter.
10+
* `-p, --password`: The password to access GitHub with. This can't be used when using the token parameter.
11+
* `--token`: The access token to access GitHub with. This can't be used when using the username and password parameters.
1212
* `-o, --owner`: The owner of the repository.
1313
* `-r, --repository`: The name of the repository.
1414

@@ -47,4 +47,4 @@ gitreleasemanager.exe create -i c:\temp\releasenotes.md -n 0.1.0 -u bob -p passw
4747
gitreleasemanager.exe create --inputFilePath c:\temp\releasenotes.md --name 0.1.0 --username bob --password password --owner repoOwner --repository repo
4848

4949
gitreleasemanager.exe create --inputFilePath c:\temp\releasenotes.md --name 0.1.0 --token fsdfsf67657sdf5s7d5f --owner repoOwner --repository repo
50-
```
50+
```

docs/commands/export.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ There are two modes of operation when exporting Release Notes. GitReleaseManager
66

77
## **Required Parameters**
88

9-
* `-u, --username`: The username to access GitHub with.
10-
* `-p, --password`: The password to access GitHub with.
11-
* `--token`: The access token to access GitHub with.
9+
* `-u, --username`: The username to access GitHub with. This can't be used when using the token parameter.
10+
* `-p, --password`: The password to access GitHub with. This can't be used when using the token parameter.
11+
* `--token`: The access token to access GitHub with. This can't be used when using the username and password parameters.
1212
* `-o, --owner`: The owner of the repository.
1313
* `-r, --repository`: The name of the repository.
1414
* `-f, --fileOutputPath`: Path to the file export releases.
@@ -33,4 +33,4 @@ gitreleasemanager.exe export -u bob -p password -o repoOwner -r repo -f c:\temp\
3333
gitreleasemanager.exe export --username bob --password password --owner repoOwner --repository repo --fileOutputPath c:\temp\releases.md
3434

3535
gitreleasemanager.exe export --token fsdfsf67657sdf5s7d5f --owner repoOwner --repository repo --fileOutputPath c:\temp\releases.md
36-
```
36+
```

docs/commands/publish.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ While it would be possible to automatically publish a set of release notes in a
44

55
## **Required Parameters**
66

7-
* `-u, --username`: The username to access GitHub with.
8-
* `-p, --password`: The password to access GitHub with.
9-
* `--token`: The access token to access GitHub with.
7+
* `-u, --username`: The username to access GitHub with. This can't be used when using the token parameter.
8+
* `-p, --password`: The password to access GitHub with. This can't be used when using the token parameter.
9+
* `--token`: The access token to access GitHub with. This can't be used when using the username and password parameters.
1010
* `-o, --owner`: The owner of the repository.
1111
* `-r, --repository`: The name of the repository.
1212
* `-t, --tagName`: The name of the release (Typically this is the generated SemVer Version Number).
@@ -28,4 +28,4 @@ gitreleasemanager.exe publish -t 0.1.0 -u bob -p password -o repoOwner -r repo
2828
gitreleasemanager.exe publish --tagName 0.1.0 --username bob --password password --owner repoOwner --repository repo
2929

3030
gitreleasemanager.exe publish --tagName 0.1.0 --token fsdfsf67657sdf5s7d5f --owner repoOwner --repository repo
31-
```
31+
```

0 commit comments

Comments
 (0)