MCPcopy Create free account
hub / github.com/danielmiessler/Fabric / printUsage

Function printUsage

cmd/code2context/main.go:87–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85}
86
87func printUsage() {
88 fmt.Fprintf(os.Stderr, `code2context - Code project scanner for use with Fabric AI
89
90Usage:
91 code2context [options] <directory> <instructions>
92 <file_list> | code2context [options] <instructions>
93
94Examples:
95 code2context . "Add input validation to all user inputs"
96 code2context -depth 4 ./my-project "Implement error handling"
97 code2context -out project.json ./src "Fix security issues"
98 find . -name '*.go' | code2context "Refactor error handling"
99 git ls-files '*.py' | code2context "Add type hints"
100
101Options:
102`)
103 flag.PrintDefaults()
104}

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected