Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Add default context to CLI config
Browse files Browse the repository at this point in the history
Signed-off-by: Darren Shepherd <darren@acorn.io>
  • Loading branch information
ibuildthecloud committed Jul 23, 2023
1 parent afeb39c commit a43d1c5
Show file tree
Hide file tree
Showing 75 changed files with 243 additions and 258 deletions.
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ acorn [flags]
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
-h, --help help for acorn
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_all.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ acorn all
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ acorn build .
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_check.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ acorn check
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_container.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ acorn containers
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ acorn container kill app-name.containername-generated-hash
-a, --all Include stopped containers
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-o, --output string Output format (json, yaml, {{gotemplate}})
-j, --project string Project to work in
-q, --quiet Output only names
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ acorn copy [flags] SOURCE DESTINATION
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ acorn credential
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ acorn login ghcr.io
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-o, --output string Output format (json, yaml, {{gotemplate}})
-j, --project string Project to work in
-q, --quiet Output only names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ acorn logout ghcr.io
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-o, --output string Output format (json, yaml, {{gotemplate}})
-j, --project string Project to work in
-q, --quiet Output only names
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ acorn dev --name wandering-sound <IMAGE>
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ acorn events [flags] [PREFIX]
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ acorn exec [flags] ACORN_NAME|CONTAINER_NAME CMD
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_fmt.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ acorn fmt [flags] [ACORNFILE]
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ acorn images
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ acorn image copy [flags] SOURCE DESTINATION
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ acorn image details my-image
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_image_rm.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ acorn image rm my-image
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_info.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ acorn info [flags]
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ acorn install
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_login.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ acorn login ghcr.io
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_logout.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ acorn logout ghcr.io
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ acorn logs [flags] [ACORN_NAME|CONTAINER_REPLICA_NAME]
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_offerings.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ acorn offerings
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ acorn computeclasses
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ acorn offering regions
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ acorn offering volumeclasses
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ acorn port-forward [flags] ACORN_NAME|CONTAINER_NAME PORT
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ acorn project
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ acorn project create acorn.io/username/new-project
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-o, --output string Output format (json, yaml, {{gotemplate}})
-j, --project string Project to work in
-q, --quiet Output only names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ acorn project rm my-project
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-o, --output string Output format (json, yaml, {{gotemplate}})
-j, --project string Project to work in
-q, --quiet Output only names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ acorn project update my-project
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-o, --output string Output format (json, yaml, {{gotemplate}})
-j, --project string Project to work in
-q, --quiet Output only names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ acorn project use acorn.io/my-user/acorn
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-o, --output string Output format (json, yaml, {{gotemplate}})
-j, --project string Project to work in
-q, --quiet Output only names
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_ps.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ acorn ps
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_pull.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ acorn pull [flags] IMAGE
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_push.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ acorn push [flags] IMAGE
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_render.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ acorn render [flags] DIRECTORY [acorn args]
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_rm.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ acorn rm --volumes --secrets ACORN_NAME
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ acorn run [flags] IMAGE|DIRECTORY [acorn args]
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_secret.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ acorn secret
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ acorn secret create --data @key-name=secret.yaml my-secret
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-o, --output string Output format (json, yaml, {{gotemplate}})
-j, --project string Project to work in
-q, --quiet Output only names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ acorn secret encrypt [flags] STRING
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-o, --output string Output format (json, yaml, {{gotemplate}})
-j, --project string Project to work in
-q, --quiet Output only names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ acorn secret
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/100-reference/01-command-line/acorn_secret_rm.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ acorn secret rm my-secret
```
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding current project
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-o, --output string Output format (json, yaml, {{gotemplate}})
-j, --project string Project to work in
-q, --quiet Output only names
Expand Down

0 comments on commit a43d1c5

Please sign in to comment.