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

Add a Ronin::Recon::Config#save method #160

Closed
postmodern opened this issue Aug 18, 2024 · 1 comment
Closed

Add a Ronin::Recon::Config#save method #160

postmodern opened this issue Aug 18, 2024 · 1 comment
Assignees
Labels
config Configuration feature New Feature
Milestone

Comments

@postmodern
Copy link
Member

Add a method which writes to_yaml to a file path. This will act as a convenience method for saving modified config objects back out to the default ~/.config/ronin-recon/config.yml config file.

def save(path=DEFAULT_PATH)
  File.write(path,to_yaml)
end
@postmodern postmodern added feature New Feature config Configuration labels Aug 18, 2024
@postmodern postmodern added this to the 0.2.0 milestone Aug 18, 2024
@AI-Mozi AI-Mozi self-assigned this Aug 19, 2024
@postmodern
Copy link
Member Author

Implemented by PR #162.

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

No branches or pull requests

2 participants