@@ -14,7 +14,7 @@ rules create --alwaysApply "Always apply this rule" # Body not supplied, so will
1414## Flags
1515
1616- ` --tags ` : Comma-separated list of tags
17- - ` --globs ` : Glob patterns to match files (defaults to "** / * " if not specified)
17+ - ` --globs ` : Glob patterns to match files (defaults to "\*\* / \ * " if not specified)
1818- ` --description ` : Short description
1919- ` --alwaysApply ` : Flag to always apply rule (creates ` alwaysApply: true ` in frontmatter)
2020
@@ -27,10 +27,9 @@ rules create --alwaysApply "Always apply this rule" # Body not supplied, so will
2727
2828- Prompts for missing fields if not provided
2929- Allows for stdin/editor input for rule body
30- - Creates a new rule (.md) file in ` .continue/rules/ ` directory following Continue format
30+ - Creates a new rule (.md) file in the current directory following Continue format
3131- Uses Continue frontmatter format with ` alwaysApply ` , ` description ` , and ` globs ` fields
3232- Does not modify the rules.json file
33- - Automatically creates ` .continue/rules/ ` directory if it doesn't exist
3433
3534## Continue Format Output
3635
@@ -47,8 +46,9 @@ globs: "**/*.tsx"
4746```
4847
4948### Frontmatter Fields:
49+
5050- ` alwaysApply ` : boolean - Whether to always apply the rule (set via ` --alwaysApply ` flag)
5151- ` description ` : string - Short description of the rule (set via ` --description ` flag)
52- - ` globs ` : string - Glob patterns to match files (set via ` --globs ` flag, defaults to "** / * ")
52+ - ` globs ` : string - Glob patterns to match files (set via ` --globs ` flag, defaults to "\*\* / \ * ")
5353
54- Note: Tags are not part of the Continue format specification and will be omitted from the frontmatter.
54+ Note: Tags are not part of the Continue format specification and will be omitted from the frontmatter.
0 commit comments