Files
flux2/docs/cmd/flux_get_sources_git.md
Sylvain Rabot 78d7dca985 Add a --context option
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2020-11-02 21:32:55 +01:00

42 lines
895 B
Markdown

## flux get sources git
Get GitRepository source statuses
### Synopsis
The get sources git command prints the status of the GitRepository sources.
```
flux get sources git [flags]
```
### Examples
```
# List all Git repositories and their status
flux get sources git
```
### Options
```
-h, --help help for git
```
### Options inherited from parent commands
```
-A, --all-namespaces list the requested object(s) across all namespaces
--context string kubernetes context to use
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
-n, --namespace string the namespace scope for this operation (default "flux-system")
--timeout duration timeout for this operation (default 5m0s)
--verbose print generated objects
```
### SEE ALSO
* [flux get sources](flux_get_sources.md) - Get source statuses