{"version":"0.2.29","anchor":"enhanced-gitignore-support-for-ls-command","canonical_anchor":"enhanced-gitignore-support-for-ls-command","heading":"Enhanced .gitignore Support for LS Command","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/0.2.29\/e\/enhanced-gitignore-support-for-ls-command","release_url":"https:\/\/changelogs.core-directive.com\/v\/0.2.29","markdown":"### Enhanced `.gitignore` Support for LS Command\n\nThe `ls` command now respects `.gitignore` patterns when listing files and directories. This provides a cleaner view of your project by automatically filtering out ignored files.\n\n**New parameter**: The `ls` command now accepts an optional `ignore` parameter where you can provide an array of glob patterns to exclude from the listing.\n\n**Example usage**:\n\n`# List files while respecting .gitignore\nclaude ls \/path\/to\/directory\n\n# List files with custom ignore patterns\nclaude ls \/path\/to\/directory --ignore \"*.tmp\" \"*.log\"`"}