-
Notifications
You must be signed in to change notification settings - Fork 6
Github
Pasknel Ribeiro edited this page Nov 13, 2023
·
3 revisions
The epyon github command can be used to interact with Github.
$ ./epyon github -h
Options for Github
Usage:
epyon github [flags]
epyon github [command]
Available Commands:
download-org-projects Download Organization Projects
download-projects Download Projects
get-artifacts Get artifacts from workflows runs
get-logs Get logs from workflows runs
list-org-members List Organization Members
list-org-repos List Organization Repositories
list-org-secrets List Organization Secrets (requires admin privs)
list-org-vars List Organization Variables (requires admin privs)
list-org-workflows List Organization Workflows
list-orgs List organizations the user is a member of
list-repo-secrets List Repositories Secrets
list-repos List Repositories
list-user-teams List User Teams
list-workflows List Workflows
whoami Get information about the current user
Flags:
-h, --help help for github
-t, --token string Access Token
Global Flags:
-P, --proxy-pass string Proxy Password
-X, --proxy-server string Proxy Server
-U, --proxy-user string Proxy User
-S, --socks-server string SOCKS5 Server (ip:port)
-K, --ssl-insecure SSL Insecure (default true)
-V, --verbose Verbose
Use "epyon github [command] --help" for more information about a command.
Github API token can be specified with the -t flag.
$ epyon github whoami -t TOKEN
$ epyon github list-user-teams -t TOKEN
$ epyon github list-orgs -t TOKEN
$ epyon github list-repos -t TOKEN
$ epyon github list-org-repos -t TOKEN -o ORGANIZATION
$ epyon github list-org-members -t TOKEN -o ORGANIZATION
$ epyon github download-projects -t TOKEN
$ epyon github download-org-projects -t TOKEN -o ORGANIZATION
$ epyon github get-logs -t TOKEN
$ epyon github get-artifacts -t TOKEN
$ epyon github list-org-workflows -t TOKEN -o ORGANIZATION
This command requires owner/admin privileges
$ epyon github list-repo-secrets -t TOKEN
This command requires admin privileges
$ epyon github list-org-vars -t TOKEN -o ORGANIZATION
This command requires admin privileges
$ epyon github list-org-secrets -t TOKEN -o ORGANIZATION