Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Add some suggested improvements

Co-authored-by: Sebastiaan Speck <[email protected]>
  • Loading branch information
rvandernoort and sebastiaanspeck authored Sep 27, 2024
1 parent 1142f6b commit d1dc0dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pages/common/crane.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# crane

> Container images managing tool.
> Some subcommands such as `append`, `auth`, `copy`, etc. have their own usage documentation.
> Some subcommands such as `pull`, `push`, `copy`, etc. have their own usage documentation.
> More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane.md/>.
- Execute a Crane command:

`crane [flags] {{subcommand}}`
`crane {{flags}} {{subcommand}}`

- Allow pushing non-distributable (foreign) layers:

`crane {{--allow-nondistributable-artifacts}}`
`crane --allow-nondistributable-artifacts`

- Display help:

`crane {{-h|--help}}`

- Allow image references to be fetched without TLS:

`crane {{--insecure}}`
`crane --insecure`

- Specify the platform in the form os/arch{{/variant}}{{:osversion}} (e.g. linux/amd64). (default all):

`crane {{--platform}} {{platform}}`
`crane --platform {{platform}}`

- Enable debug logs:

Expand Down
2 changes: 1 addition & 1 deletion pages/common/gcrane-completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@

`source <(gcrane completion bash)>`

- Load completions for every new sesion:
- Load completions for every new session:

`gcrane completion bash > /etc/bash_completion.d/gcrane (linux)`

0 comments on commit d1dc0dd

Please sign in to comment.