Skip to content

feat: added 'list' command.#6

Open
Blankeos wants to merge 1 commit intomainfrom
feat/list-command
Open

feat: added 'list' command.#6
Blankeos wants to merge 1 commit intomainfrom
feat/list-command

Conversation

@Blankeos
Copy link
Owner

@Blankeos Blankeos commented Feb 7, 2026

No description provided.

@Blankeos
Copy link
Owner Author

Blankeos commented Feb 7, 2026

@codex review pls, rate X/5 merge confidence.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7c870087bd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +816 to +818
let folder = resolve_list_folder(cli, command_folder)
.cloned()
.unwrap_or_else(|| PathBuf::from(config::DEFAULT_FOLDER));

Choose a reason for hiding this comment

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

P2 Badge Honor configured folder defaults for list

The list command always falls back to config::DEFAULT_FOLDER when no --folder flag is passed, and it never consults the project config loader (e.g., iconmate.config.json) that the rest of the app uses for defaults. In projects that set a non-default folder in config, iconmate list will look in src/assets/icons and print “No icons found” even though icons exist in the configured folder unless users remember to pass --folder every time. This makes the new command inconsistent with configured defaults and will confuse users who rely on config.

Useful? React with 👍 / 👎.

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.

1 participant