1
1
# gh-cli
2
2
named ` gh-actions-secrets ` earlier, renamed to ` gh-cli ` .
3
3
4
- [ 🗃 » Download the latest release «] ( https://github.com/aslamplr/gh-actions-secrets /releases )
4
+ [ 🗃 » Download the latest release «] ( https://github.com/aslamplr/gh-cli /releases )
5
5
6
6
7
7
```
8
- GitHub Actions Secrets - CLI (Un-official) v0.2.1
8
+ $ gh-cli help
9
+ GitHub CLI v0.3.0
9
10
Aslam Ahammed A. <[email protected] >
10
- CLI tool to deal with GitHub Actions Secrets API.
11
- Minimalistic and Opinionated, un-official by default.
11
+ Yet another unofficial GitHub CLI!
12
+ Minimalistic, opinionated, and unofficial by default.
13
+ Work is in progress to add more subcommands.
12
14
Absolute No Warranty!
13
15
14
16
USAGE:
15
- gh-actions-secrets [OPTIONS] --action <ACTION> --auth_token <PERSONAL_ACCESS_TOKEN> --repo_name <REPO_NAME> --repo_owner <REPO_OWNER>
17
+ gh-cli <SUBCOMMAND>
18
+
19
+ FLAGS:
20
+ -h, --help Prints help information
21
+ -V, --version Prints version information
22
+
23
+ SUBCOMMANDS:
24
+ help Prints this message or the help of the given subcommand(s)
25
+ secrets GitHub Actions Secrets CLI wrapper for GitHub Actions Secrets API
26
+ ```
27
+
28
+ ## Sub Commands
29
+
30
+ ### Secrets
31
+
32
+ ```
33
+ $ gh-cli secrets
34
+ gh-cli-secrets v0.3.0
35
+ Aslam Ahammed A. <[email protected] >
36
+ GitHub Actions Secrets CLI wrapper for GitHub Actions Secrets API
37
+
38
+ USAGE:
39
+ gh-cli secrets [OPTIONS] --auth_token <PERSONAL_ACCESS_TOKEN> --repo_owner <REPO_OWNER> --repo_name <REPO_NAME> --action <ACTION>
16
40
17
41
FLAGS:
18
42
-h, --help Prints help information
@@ -24,24 +48,27 @@ OPTIONS:
24
48
-t, --auth_token <PERSONAL_ACCESS_TOKEN> Generate token - https://github.com/settings/tokens
25
49
-a, --action <ACTION> [possible values: list, get, add, update, delete]
26
50
--secret_key <SECRET_KEY>
27
- --secret_value <SECRET_VALUE>
51
+ --secret_value <SECRET_VALUE>
28
52
```
29
53
30
- Example - Add new secret to Github actions secrets
54
+ #### Example
55
+
56
+ ** Add new secret to Github actions secrets**
31
57
32
58
```
33
- gh-actions- secrets --auth_token=qwertyuipasdfghjklzxcvbnmlkgsdfg --repo_owner aslamplr --repo_name gh-actions-secrets --action add --secret_key SECRET_KEY --secret_value SECRET_VALUE_XYZ_BLAH_BLAH
59
+ gh-cli secrets --auth_token=qwertyuipasdfghjklzxcvbnmlkgsdfg --repo_owner aslamplr --repo_name gh-actions-secrets --action add --secret_key SECRET_KEY --secret_value SECRET_VALUE_XYZ_BLAH_BLAH
34
60
```
35
61
36
- Example - List all secrets
62
+ ** List all secrets**
37
63
38
64
```
39
- gh-actions- secrets --auth_token=qwertyuipasdfghjklzxcvbnmlkgsdfg --repo_owner aslamplr --repo_name gh-actions-secrets --action list
65
+ gh-cli secrets --auth_token=qwertyuipasdfghjklzxcvbnmlkgsdfg --repo_owner aslamplr --repo_name gh-actions-secrets --action list
40
66
```
41
67
42
- ### Requirements for development
68
+ ## Development
69
+ ### Requirements
43
70
44
- - Rust (rustc 1.42 .0)
71
+ - Rust (rustc 1.43 .0)
45
72
46
73
### Run
47
74
@@ -56,5 +83,5 @@ cargo build --release
56
83
```
57
84
58
85
## Roadmap
59
- - Unofficial Github CLI
86
+ - Blazing fast Unofficial Github CLI implemented in Rust
60
87
- Rust client library for Github API
0 commit comments