Skip to content

How to setting ignoreGlobs in foam janitor command #4

Open
@t2hv33

Description

@t2hv33
  • My foam extension can read my ignoreGlobs in .vscode/settings.json in Output Foam Log
  "foam.files.ignore": [
    "journal/**/*",
    "/docs/**/*",
    "**/_layouts/**/*",
    "**/.vscode/**/*",
    "**/_site/**/*",
    "**/node_modules/**/*",
    "packages/**/*"
  ],

It worked in foam extension

But when I run foam-cli: foam janitor '~/Documents/foam-hub'

 Reading Files[info] Workspace folders:  [ '/Users/name/Documents/foam-hub' ]
[info] Glob patterns {
  includeGlobs: [ '/Users/name/Documents/foam-hub/**/*' ],
  ignoreGlobs: [] //it can't read the ignoreGlobs config

How to config ignoreGlobs for foam cli with the global config?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions