1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// SPDX-License-Identifier: Apache-2.0
//! Base CLI flags.
//!
//! ## Short-flag conventions
//!
//! The CLI is small and the short forms have to mean the same thing
//! everywhere they appear. The table below is the source of truth — new
//! verbs should reuse these letters before claiming new ones. Verbs that
//! diverge (e.g. `-n` for `--steps` on `undo`/`redo` vs `--limit` on
//! `log`/`list`) keep the muscle memory consistent within the verb's own
//! family: "n" is always "how many," "m" is always "message."
//!
//! | Short | Long(s) | Used by |
//! |-------|-----------------------------------|-------------------------------|
//! | `-m` | `--message`, `--intent` | capture, revert, context, |
//! | | | discuss |
//! | `-n` | `--limit` (queries), | log, list, query (limit); |
//! | | `--steps` (undo/redo) | undo, redo (steps) |
//! | `-f` | `--force` | capture, push, revert, purge |
//! | `-s` | `--short` | status |
//! | `-U` | `--unified` | diff |
//! | `-C` | `--repo` | global |
//! | `-v` | `--verbose` (repeatable) | global |
//! | `-q` | `--quiet` | global |
//!
//! Heddle is pre-1.0 and contracts misleading surface area instead of
//! preserving obsolete spellings. Add a short alias only when the letter is
//! already reserved for that semantic in the current table above.
use Parser;
use ;
/// Heddle: An AI-native version control system.
// We ship our own `Help` subcommand (curated everyday/advanced
// surface + topic pages). clap's auto-generated `help` subcommand
// would shadow it; turn it off so `heddle help [topic]` reaches our
// printer instead.