jj/cli/tests
Waleed Khan ed84468cb8 docs: in jj help util exec, use Markdown warning admonition
We're scraping the CLI help text and rendering it as markdown, so we can use an "admonition" to have this warning text render nicer in the web documentation.

You could argue that `!!! warning` is a little weird to see on the CLI. Some alternatives:

- We could opt to not design the CLI help text around markdown and skip the change to the `jj util exec` help in this commit.
- We could adopt some kind of format that can be rendered well in both contexts.
  - Could sticking to specific formatting constructs by convention.
  - Could use/create an actual translation tool from CLI format to Markdwon.
- We could keep separate versions of web and CLI documentation. (Seems like a bad idea for the foreseeable future, because we don't have the resources to constantly keep both up-to-date and sync.)

I'm in favor of just writing Markdown in the CLI help text for now.
2024-12-07 13:50:44 -08:00
..
common
cli-reference@.md.snap docs: in jj help util exec, use Markdown warning admonition 2024-12-07 13:50:44 -08:00
runner.rs cli: delete deprecated jj checkout command 2024-11-21 11:50:03 -06:00
test_abandon_command.rs abandon: add --restore-descendants flag 2024-09-24 10:52:06 +02:00
test_absorb_command.rs cli: add "absorb" machinery and command 2024-11-12 08:26:42 +09:00
test_acls.rs diff: remove duplicated source message from AccessDenied error 2024-10-23 23:51:21 +09:00
test_advance_bookmarks.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
test_alias.rs bookmark: add "b" alias 2024-09-17 18:24:26 +02:00
test_backout_command.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
test_bookmark_command.rs log: emit working-copy branch first if included in the revset 2024-11-20 10:50:16 +09:00
test_builtin_aliases.rs config: extract layer management from cli LayeredConfigs to jj-lib 2024-11-25 12:09:21 +09:00
test_commit_command.rs cli: consider "JJ:" lines as comments also when not followed by space 2024-12-04 10:40:56 -08:00
test_commit_template.rs log: emit working-copy branch first if included in the revset 2024-11-20 10:50:16 +09:00
test_completion.rs completion: teach log about files 2024-12-06 20:44:43 +01:00
test_concurrent_operations.rs log: emit working-copy branch first if included in the revset 2024-11-20 10:50:16 +09:00
test_config_command.rs config: introduce our ConfigGetError type 2024-12-06 10:52:10 +09:00
test_copy_detection.rs
test_debug_command.rs revset: reorganize expression resolution/evaluation methods 2024-11-08 10:34:02 +09:00
test_describe_command.rs cli: consider "JJ:" lines as comments also when not followed by space 2024-12-04 10:40:56 -08:00
test_diff_command.rs merge_tools: allow setting conflict marker style per-tool 2024-11-26 09:05:17 -06:00
test_diffedit_command.rs merge_tools: allow setting conflict marker style per-tool 2024-11-26 09:05:17 -06:00
test_duplicate_command.rs cli: duplicate: parse -rREV option properly 2024-12-04 08:38:44 +09:00
test_edit_command.rs
test_evolog_command.rs templates: Add new template alias builtin_log_compact_full_description 2024-10-26 14:01:18 -03:00
test_file_annotate_command.rs cli: don't use format_*() in annotate template, truncate author, omit commit id 2024-11-05 14:49:57 +09:00
test_file_chmod_command.rs cli: reorder updating and reporting for consistency. 2024-09-22 15:02:21 +01:00
test_file_show_command.rs tests: rename test_file_print_command.rs to_file_show_command.rs 2024-10-04 20:52:59 +09:00
test_file_track_untrack_commands.rs
test_fix_command.rs cli: include commit summary when attempting to modify an immutable commit 2024-11-12 01:17:41 +08:00
test_generate_md_cli_help.rs
test_git_clone.rs cli: warn if trunk() cannot be resolved after each transaction 2024-11-15 18:31:28 +08:00
test_git_colocated.rs log: emit working-copy branch first if included in the revset 2024-11-20 10:50:16 +09:00
test_git_fetch.rs cli git fetch: clarify the error for invalid branch names/globs 2024-11-29 11:27:05 -08:00
test_git_import_export.rs templates: make op_summary more readable 2024-10-13 20:06:03 -07:00
test_git_init.rs bookmarks: add support for git.auto-local-bookmark (to match docs) 2024-10-30 08:01:02 -07:00
test_git_private_commits.rs cli: git push: describe private commits that would fail push 2024-12-04 13:12:30 -06:00
test_git_push.rs cli: git push: describe private commits that would fail push 2024-12-04 13:12:30 -06:00
test_git_remotes.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
test_git_submodule.rs
test_gitignores.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
test_global_opts.rs cli: make crossterm not respect NO_COLOR 2024-12-06 17:37:10 -08:00
test_help_command.rs help: Add a keyword feature 2024-10-31 16:55:18 -03:00
test_immutable_commits.rs cli: delete the deprecated jj move command 2024-11-18 13:24:16 -08:00
test_init_command.rs bookmarks: add support for git.auto-local-bookmark (to match docs) 2024-10-30 08:01:02 -07:00
test_interdiff_command.rs cli: delete deprecated jj checkout command 2024-11-21 11:50:03 -06:00
test_log_command.rs config: introduce our ConfigGetError type 2024-12-06 10:52:10 +09:00
test_new_command.rs cli: delete deprecated jj merge command 2024-11-21 11:50:03 -06:00
test_next_prev_commands.rs log: emit working-copy branch first if included in the revset 2024-11-20 10:50:16 +09:00
test_operations.rs log: emit working-copy branch first if included in the revset 2024-11-20 10:50:16 +09:00
test_parallelize_command.rs log: emit working-copy branch first if included in the revset 2024-11-20 10:50:16 +09:00
test_rebase_command.rs log: emit working-copy branch first if included in the revset 2024-11-20 10:50:16 +09:00
test_repo_change_report.rs cli: rebase: extract out common print_move_commits_stats function 2024-11-12 16:04:53 +08:00
test_resolve_command.rs merge_tools: add merge-conflict-exit-codes option 2024-12-03 20:08:31 -06:00
test_restore_command.rs restore: add --restore-descendants flag 2024-09-24 14:26:54 +02:00
test_revset_output.rs cli: add pointer to the documentation in case of fileset syntax error 2024-10-04 17:09:43 +02:00
test_root.rs
test_shell_completion.rs
test_show_command.rs templates: Add new template alias builtin_log_compact_full_description 2024-10-26 14:01:18 -03:00
test_simplify_parents_command.rs cli: simplify-parents: add default revsets.simplify-parents config 2024-11-26 13:19:25 +08:00
test_sparse_command.rs
test_split_command.rs cli: consider "JJ:" lines as comments also when not followed by space 2024-12-04 10:40:56 -08:00
test_squash_command.rs cli: consider "JJ:" lines as comments also when not followed by space 2024-12-04 10:40:56 -08:00
test_status_command.rs conflicts: Highlight change ids in rebase advice 2024-09-13 12:57:56 +02:00
test_tag_command.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
test_templater.rs templater: add != operator as user would probably expect that it exists 2024-11-10 21:41:24 +09:00
test_undo.rs cli: git push: do not push new bookmarks by default 2024-11-19 21:11:22 +09:00
test_unsquash_command.rs cli: consider "JJ:" lines as comments also when not followed by space 2024-12-04 10:40:56 -08:00
test_util_command.rs util: add exec command for arbitrary aliases 2024-11-09 11:49:33 +01:00
test_working_copy.rs cli: Fix error message grammar and associated tests 2024-11-25 18:22:33 -06:00
test_workspaces.rs log: emit working-copy branch first if included in the revset 2024-11-20 10:50:16 +09:00