Make `get_configuration_directory_str` public

Open
#118 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
50/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

Locate get_configuration_directory_str in the confy codebase and inspect how its current input and visibility are used. Update the public API to accept an application name string, then verify that it identifies the directory intended to contain multiple configuration files.

Written by the indexing model from the issue text.

Description

Please consider making get_configuration_directory_str public, changing its input parameter to accept a string with the app name.
It's especially useful for applications with multiple config files, to show the directory that will contain all of them.

This requires really quick changes, so if you're interested please let me know and I'll submit a PR.

Dominant language
Rust
Stars
1k
Forks
78
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-cli/confy

All issues in rust-cli/confy

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.