CLI
ProxyNotFoundError
Bases: Exception
Raised when a specific proxy is not found.
Source code in sonyci/cli.py
34 35 |
|
asset(ctx, asset)
Search for files in a Sony CI workspace
Source code in sonyci/cli.py
145 146 147 148 149 150 151 152 153 154 155 156 157 |
|
download(ctx, id, proxy=None, output=None)
Download a file from Sony CI
Source code in sonyci/cli.py
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
|
get(ctx, path)
Make a GET request to Sony CI.
Source code in sonyci/cli.py
74 75 76 77 78 79 80 81 |
|
login(ctx, username=Option(Ellipsis, '--username', '-u', help='Sony CI username.', envvar='CI_USERNAME'), password=Option(Ellipsis, '--password', '-p', help='Sony CI password.', envvar='CI_PASSWORD'), test=Option(False, '--test', '-t', help='Skips saving the token.'))
Login to Sony CI.
Source code in sonyci/cli.py
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
|
parse_bearer_token(token)
Parse a bearer token from a json string.
Source code in sonyci/cli.py
19 20 21 |
|
post(ctx, path, data=Argument(help='The data to POST'))
Make a POST request to Sony CI.
Source code in sonyci/cli.py
84 85 86 87 88 89 90 91 92 93 94 95 96 |
|
search(ctx, query)
Search for files in a Sony CI workspace
Source code in sonyci/cli.py
99 100 101 102 103 104 105 106 107 108 109 110 |
|
version_callback(value)
Print the version of the program and exit.
Source code in sonyci/cli.py
24 25 26 27 28 29 30 31 |
|