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

Function printUsage

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

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected