MCPcopy Create free account
hub / github.com/gitless-vcs/gitless / oei_flags

Function oei_flags

gitless/cli/helpers.py:153–165  ·  view source on GitHub ↗
(subparsers, repo)

Source from the content-addressed store, hash-verified

151
152
153def oei_flags(subparsers, repo):
154 subparsers.add_argument(
155 'only', nargs='*',
156 help='use only files given (tracked modified or untracked)',
157 action=PathProcessor, repo=repo, metavar='file')
158 subparsers.add_argument(
159 '-e', '--exclude', nargs='+',
160 help='exclude files given (files must be tracked modified)',
161 action=PathProcessor, repo=repo, metavar='file')
162 subparsers.add_argument(
163 '-i', '--include', nargs='+',
164 help='include files given (files must be untracked)',
165 action=PathProcessor, repo=repo, metavar='file')
166
167
168def oei_fs(args, repo):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected