Skip to content

Conversation

mrajagopal
Copy link
Collaborator

  • Log the command-line input by the user
  • os.Args hold the command-line arguments, starting with the program name

Example:
2024/07/11 03:30:41.601650 nginx-supportpkg.go:48: Starting kubectl-nginx-suportpkg - version: dev - build: dev 2024/07/11 03:30:41.601736 nginx-supportpkg.go:49: Input args are [/usr/local/bin/kubectl-nginx_supportpkg -n kic-0 -p nic]

* Log the command-line input by the user
* os.Args hold the command-line arguments, starting with the program name
@mrajagopal mrajagopal requested a review from a team as a code owner July 11, 2024 03:33
Copy link
Collaborator

@dareste dareste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants