MCPcopy Index your code
hub / github.com/dnote/dnote / validateRunNoteFlags

Function validateRunNoteFlags

pkg/cli/cmd/edit/note.go:31–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29)
30
31func validateRunNoteFlags() error {
32 if nameFlag != "" {
33 return errors.New("--name is invalid for editing a book")
34 }
35
36 return nil
37}
38
39func waitEditorNoteContent(ctx context.DnoteCtx, note database.Note) (string, error) {
40 fpath, err := ui.GetTmpContentPath(ctx)

Callers 1

runNoteFunction · 0.85

Calls 1

NewMethod · 0.80

Tested by

no test coverage detected