Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

returning array of section headers and section count #27

Open
c-nv-s opened this issue Feb 27, 2024 · 2 comments
Open

returning array of section headers and section count #27

c-nv-s opened this issue Feb 27, 2024 · 2 comments
Assignees
Labels

Comments

@c-nv-s
Copy link

c-nv-s commented Feb 27, 2024

What is the problem this feature will solve?

given any "blackbox" .ini file, the tool will be able to return an array of all the section headers and a count of the number of sections

What is the feature you are proposing to solve the problem?

add capability to return:

  1. count of the number of sections in the .ini file
  2. array of the section headers for further iteration in bash

What alternatives have you considered?

none

@c-nv-s
Copy link
Author

c-nv-s commented Feb 27, 2024

would also probably be useful if instead of showing an error if the user provides the --section flag but no --key flag, to actually return a list of the keys (or keys and values) of the specified section.

@carrodher
Copy link
Member

Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.

Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.

@bitnami bitnami deleted a comment from donaald795 May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants