showContextHelp mostra ajuda do comando /context
()
| 441 | |
| 442 | // showContextHelp mostra ajuda do comando /context |
| 443 | func (h *ContextHandler) showContextHelp() { |
| 444 | help := ` |
| 445 | ` + colorize(i18n.T("context.help.title"), ColorLime+ColorBold) + ` |
| 446 | ` + colorize(strings.Repeat("─", 80), ColorGray) + ` |
| 447 | |
| 448 | ` + colorize(i18n.T("context.help.create_header"), ColorCyan) + ` |
| 449 | /context create <` + i18n.T("context.help.arg.name") + `> <` + i18n.T("context.help.arg.paths") + `> [` + i18n.T("context.help.arg.options") + `] |
| 450 | --mode, -m <` + i18n.T("context.help.arg.mode") + `> ` + i18n.T("context.help.mode_desc") + ` |
| 451 | --description, -d <` + i18n.T("context.help.arg.text") + `> ` + i18n.T("context.help.description_desc") + ` |
| 452 | --tags, -t <tag1,tag2> ` + i18n.T("context.help.tags_desc") + ` |
| 453 | --force, -f ` + i18n.T("context.help.force_desc") + ` |
| 454 | |
| 455 | ` + colorize(i18n.T("context.help.example_label"), ColorGray) + ` |
| 456 | /context create projeto-api ./src ./tests --mode smart --tags api,golang |
| 457 | |
| 458 | ` + colorize(i18n.T("context.help.update_header"), ColorCyan) + ` |
| 459 | /context update <` + i18n.T("context.help.arg.name") + `> [<` + i18n.T("context.help.arg.paths") + `>] [` + i18n.T("context.help.arg.options") + `] |
| 460 | --mode, -m <` + i18n.T("context.help.arg.mode") + `> ` + i18n.T("context.help.new_mode_desc") + ` |
| 461 | --description, -d <` + i18n.T("context.help.arg.text") + `> ` + i18n.T("context.help.new_description_desc") + ` |
| 462 | --tags, -t <tag1,tag2> ` + i18n.T("context.help.new_tags_desc") + ` |
| 463 | |
| 464 | ` + colorize(i18n.T("context.help.notes_label"), ColorGray) + ` |
| 465 | ` + i18n.T("context.help.update_note1") + ` |
| 466 | ` + i18n.T("context.help.update_note2") + ` |
| 467 | ` + i18n.T("context.help.update_note3") + ` |
| 468 | |
| 469 | ` + colorize(i18n.T("context.help.attach_header"), ColorCyan) + ` |
| 470 | /context attach <` + i18n.T("context.help.arg.name") + `> [--priority <n>] ` + i18n.T("context.help.attach_desc") + ` |
| 471 | /context detach <` + i18n.T("context.help.arg.name") + `> ` + i18n.T("context.help.detach_desc") + ` |
| 472 | |
| 473 | ` + colorize(i18n.T("context.help.list_view_header"), ColorCyan) + ` |
| 474 | /context list ` + i18n.T("context.help.list_desc") + ` |
| 475 | /context show <` + i18n.T("context.help.arg.name") + `> ` + i18n.T("context.help.show_desc") + ` |
| 476 | /context inspect <` + i18n.T("context.help.arg.name") + `> ` + i18n.T("context.help.inspect_desc") + ` |
| 477 | /context inspect <` + i18n.T("context.help.arg.name") + `> --chunk N ` + i18n.T("context.help.inspect_chunk_desc") + ` |
| 478 | /context attached ` + i18n.T("context.help.attached_desc") + ` |
| 479 | |
| 480 | ` + colorize(i18n.T("context.help.example_label"), ColorGray) + ` |
| 481 | /context show meu-projeto |
| 482 | /context inspect meu-projeto --chunk 1 |
| 483 | |
| 484 | ` + colorize(i18n.T("context.help.manage_header"), ColorCyan) + ` |
| 485 | /context delete <` + i18n.T("context.help.arg.name") + `> ` + i18n.T("context.help.delete_desc") + ` |
| 486 | /context merge <` + i18n.T("context.help.arg.new_name") + `> <ctx1> <ctx2>... ` + i18n.T("context.help.merge_desc") + ` |
| 487 | |
| 488 | ` + colorize(i18n.T("context.help.import_export_header"), ColorCyan) + ` |
| 489 | /context export <` + i18n.T("context.help.arg.name") + `> <` + i18n.T("context.help.arg.path") + `> ` + i18n.T("context.help.export_desc") + ` |
| 490 | /context import <` + i18n.T("context.help.arg.path") + `> ` + i18n.T("context.help.import_desc") + ` |
| 491 | |
| 492 | ` + colorize(i18n.T("context.help.metrics_header"), ColorCyan) + ` |
| 493 | /context metrics ` + i18n.T("context.help.metrics_desc") + ` |
| 494 | |
| 495 | ` + colorize(i18n.T("context.help.notes_label"), ColorGray) + ` |
| 496 | ` + i18n.T("context.help.note1") + ` |
| 497 | ` + i18n.T("context.help.note2") + ` |
| 498 | ` + i18n.T("context.help.note3") + ` |
| 499 | ` |
| 500 | fmt.Println(help) |
no test coverage detected