Skip to content

feat: add command line arguments support for os.Args in kernel#120

Open
sumansaurabh wants to merge 1 commit intoicexin:mainfrom
sumansaurabh:feature/kernel-command-line-args-70-pkh
Open

feat: add command line arguments support for os.Args in kernel#120
sumansaurabh wants to merge 1 commit intoicexin:mainfrom
sumansaurabh:feature/kernel-command-line-args-70-pkh

Conversation

@sumansaurabh
Copy link

Summary

Implemented command line arguments support for os.Args in the kernel to complement the existing environment variables functionality.

Changes

  • Added command line argument parsing capability to the kernel
  • Integrated with existing -append parameter mechanism used for environment variables
  • Populated os.Args with parsed command line arguments
  • Maintained backward compatibility with current environment variable handling

Why

This enhancement allows developers to pass command line arguments to kernel programs using the same -append parameter that currently supports environment variables, providing a more complete runtime environment for kernel applications.

Fixes #70

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.

kernel: add command line arguments for os.Args

2 participants