gitwise-cli 0.24.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. gitwise/__init__.py +11 -0
  2. gitwise/__main__.py +113 -0
  3. gitwise/_cli_completions.py +88 -0
  4. gitwise/_cli_dispatch.py +469 -0
  5. gitwise/_cli_introspection.py +275 -0
  6. gitwise/_cli_parser.py +345 -0
  7. gitwise/_cli_setup_agents.py +439 -0
  8. gitwise/_i18n_data.json +1934 -0
  9. gitwise/_paths.py +22 -0
  10. gitwise/_runtime_config.py +246 -0
  11. gitwise/audit.py +338 -0
  12. gitwise/branches.py +183 -0
  13. gitwise/clean.py +197 -0
  14. gitwise/commit.py +142 -0
  15. gitwise/conflicts.py +112 -0
  16. gitwise/context.py +163 -0
  17. gitwise/design.py +383 -0
  18. gitwise/diff.py +309 -0
  19. gitwise/doctor.py +116 -0
  20. gitwise/git.py +254 -0
  21. gitwise/health.py +345 -0
  22. gitwise/i18n.py +99 -0
  23. gitwise/log.py +329 -0
  24. gitwise/merge.py +193 -0
  25. gitwise/optimize.py +212 -0
  26. gitwise/output.py +652 -0
  27. gitwise/pick.py +102 -0
  28. gitwise/pr.py +543 -0
  29. gitwise/py.typed +0 -0
  30. gitwise/schema.py +49 -0
  31. gitwise/setup.py +551 -0
  32. gitwise/setup_agents/__init__.py +36 -0
  33. gitwise/setup_agents/adapters/__init__.py +17 -0
  34. gitwise/setup_agents/adapters/aider.py +5 -0
  35. gitwise/setup_agents/adapters/base.py +5 -0
  36. gitwise/setup_agents/adapters/codex.py +5 -0
  37. gitwise/setup_agents/adapters/continue_adapter.py +5 -0
  38. gitwise/setup_agents/adapters/cursor.py +5 -0
  39. gitwise/setup_agents/adapters/opencode.py +5 -0
  40. gitwise/setup_agents/adapters/pi.py +5 -0
  41. gitwise/setup_agents/exec.py +449 -0
  42. gitwise/setup_agents/format.py +164 -0
  43. gitwise/setup_agents/plan.py +254 -0
  44. gitwise/setup_agents/plan_gitfiles.py +167 -0
  45. gitwise/setup_agents/plan_skills.py +256 -0
  46. gitwise/setup_agents/providers/__init__.py +96 -0
  47. gitwise/setup_agents/providers/aider.py +11 -0
  48. gitwise/setup_agents/providers/base.py +79 -0
  49. gitwise/setup_agents/providers/claude.py +408 -0
  50. gitwise/setup_agents/providers/codex.py +11 -0
  51. gitwise/setup_agents/providers/continue_adapter.py +11 -0
  52. gitwise/setup_agents/providers/cursor.py +11 -0
  53. gitwise/setup_agents/providers/opencode.py +11 -0
  54. gitwise/setup_agents/providers/pi.py +11 -0
  55. gitwise/setup_agents/state.py +141 -0
  56. gitwise/setup_agents/types.py +48 -0
  57. gitwise/share/agents/skills/git-audit/SKILL.md +25 -0
  58. gitwise/share/agents/skills/git-clean/SKILL.md +22 -0
  59. gitwise/share/agents/skills/git-optimize/SKILL.md +21 -0
  60. gitwise/share/aider/CONVENTIONS.md.template +8 -0
  61. gitwise/share/aider/aider.conf.yml.template +4 -0
  62. gitwise/share/claude/CLAUDE.md.template +9 -0
  63. gitwise/share/claude/rules/gitwise.md +16 -0
  64. gitwise/share/claude/settings.json.template +47 -0
  65. gitwise/share/claude/skills/git-audit/SKILL.md +25 -0
  66. gitwise/share/claude/skills/git-clean/SKILL.md +22 -0
  67. gitwise/share/claude/skills/git-optimize/SKILL.md +21 -0
  68. gitwise/share/codex/agents/gitwise.toml.template +18 -0
  69. gitwise/share/continue/rules/gitwise.md.template +14 -0
  70. gitwise/share/cursor/rules/gitwise.mdc.template +16 -0
  71. gitwise/share/git-config-modern.txt +48 -0
  72. gitwise/share/hooks/commit-msg +22 -0
  73. gitwise/share/hooks/pre-commit +19 -0
  74. gitwise/share/opencode/agents/gitwise.md.template +14 -0
  75. gitwise/share/pi/skills/gitwise.md.template +14 -0
  76. gitwise/share/schemas/v1/input/audit.json +40 -0
  77. gitwise/share/schemas/v1/input/branches.json +51 -0
  78. gitwise/share/schemas/v1/input/clean.json +52 -0
  79. gitwise/share/schemas/v1/input/commands.json +36 -0
  80. gitwise/share/schemas/v1/input/commit.json +63 -0
  81. gitwise/share/schemas/v1/input/completions.json +51 -0
  82. gitwise/share/schemas/v1/input/conflicts.json +46 -0
  83. gitwise/share/schemas/v1/input/context.json +36 -0
  84. gitwise/share/schemas/v1/input/diff.json +56 -0
  85. gitwise/share/schemas/v1/input/doctor.json +36 -0
  86. gitwise/share/schemas/v1/input/health.json +36 -0
  87. gitwise/share/schemas/v1/input/log.json +71 -0
  88. gitwise/share/schemas/v1/input/merge.json +63 -0
  89. gitwise/share/schemas/v1/input/optimize.json +44 -0
  90. gitwise/share/schemas/v1/input/pick.json +63 -0
  91. gitwise/share/schemas/v1/input/pr.json +51 -0
  92. gitwise/share/schemas/v1/input/schema.json +48 -0
  93. gitwise/share/schemas/v1/input/setup-agents.json +108 -0
  94. gitwise/share/schemas/v1/input/setup.json +55 -0
  95. gitwise/share/schemas/v1/input/show.json +46 -0
  96. gitwise/share/schemas/v1/input/snapshot.json +36 -0
  97. gitwise/share/schemas/v1/input/stash.json +68 -0
  98. gitwise/share/schemas/v1/input/status.json +36 -0
  99. gitwise/share/schemas/v1/input/suggest.json +36 -0
  100. gitwise/share/schemas/v1/input/summarize.json +44 -0
  101. gitwise/share/schemas/v1/input/sync.json +55 -0
  102. gitwise/share/schemas/v1/input/tag.json +73 -0
  103. gitwise/share/schemas/v1/input/undo.json +60 -0
  104. gitwise/share/schemas/v1/input/update.json +40 -0
  105. gitwise/share/schemas/v1/input/worktree.json +50 -0
  106. gitwise/show.py +118 -0
  107. gitwise/snapshot.py +110 -0
  108. gitwise/stash.py +188 -0
  109. gitwise/status.py +93 -0
  110. gitwise/suggest.py +148 -0
  111. gitwise/summarize.py +202 -0
  112. gitwise/sync.py +257 -0
  113. gitwise/tag.py +252 -0
  114. gitwise/undo.py +145 -0
  115. gitwise/update.py +42 -0
  116. gitwise/utils/__init__.py +1 -0
  117. gitwise/utils/git_output.py +51 -0
  118. gitwise/utils/json_envelope.py +58 -0
  119. gitwise/utils/parsing.py +34 -0
  120. gitwise/worktree.py +182 -0
  121. gitwise_cli-0.24.2.dist-info/METADATA +151 -0
  122. gitwise_cli-0.24.2.dist-info/RECORD +125 -0
  123. gitwise_cli-0.24.2.dist-info/WHEEL +4 -0
  124. gitwise_cli-0.24.2.dist-info/entry_points.txt +2 -0
  125. gitwise_cli-0.24.2.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/branches.json",
4
+ "title": "gitwise branches cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ },
35
+ "stale": {
36
+ "type": "boolean",
37
+ "description": "show stale [gone] branches only",
38
+ "default": false
39
+ },
40
+ "remote": {
41
+ "type": "boolean",
42
+ "description": "show remote branches",
43
+ "default": false
44
+ },
45
+ "sort": {
46
+ "type": "string",
47
+ "description": "sort field: refname, committerdate, -committerdate",
48
+ "default": "refname"
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/clean.json",
4
+ "title": "gitwise clean cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ },
35
+ "branches": {
36
+ "type": "boolean",
37
+ "default": false
38
+ },
39
+ "refs": {
40
+ "type": "boolean",
41
+ "default": false
42
+ },
43
+ "dry_run": {
44
+ "type": "boolean",
45
+ "default": false
46
+ },
47
+ "yes": {
48
+ "type": "boolean",
49
+ "default": false
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/commands.json",
4
+ "title": "gitwise commands cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/commit.json",
4
+ "title": "gitwise commit cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ },
35
+ "message": {
36
+ "type": "string",
37
+ "description": "commit message"
38
+ },
39
+ "type": {
40
+ "type": "string",
41
+ "description": "commit type (feat/fix/etc)"
42
+ },
43
+ "scope": {
44
+ "type": "string",
45
+ "description": "commit scope"
46
+ },
47
+ "breaking": {
48
+ "type": "boolean",
49
+ "description": "breaking change (!)",
50
+ "default": false
51
+ },
52
+ "amend": {
53
+ "type": "boolean",
54
+ "description": "amend last commit",
55
+ "default": false
56
+ },
57
+ "dry_run": {
58
+ "type": "boolean",
59
+ "description": "show without committing",
60
+ "default": false
61
+ }
62
+ }
63
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/completions.json",
4
+ "title": "gitwise completions cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ },
35
+ "shell": {
36
+ "type": "string",
37
+ "enum": [
38
+ "bash",
39
+ "zsh",
40
+ "fish"
41
+ ],
42
+ "description": "target shell for completion script",
43
+ "default": "bash"
44
+ },
45
+ "prog": {
46
+ "type": "string",
47
+ "description": "command name used inside completion script (default: gitwise)",
48
+ "default": "gitwise"
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/conflicts.json",
4
+ "title": "gitwise conflicts cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ },
35
+ "ours": {
36
+ "type": "boolean",
37
+ "description": "resolve all conflicts using ours",
38
+ "default": false
39
+ },
40
+ "theirs": {
41
+ "type": "boolean",
42
+ "description": "resolve all conflicts using theirs",
43
+ "default": false
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/context.json",
4
+ "title": "gitwise context cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/diff.json",
4
+ "title": "gitwise diff cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ },
35
+ "staged": {
36
+ "type": "boolean",
37
+ "description": "show staged changes only",
38
+ "default": false
39
+ },
40
+ "name_only": {
41
+ "type": "boolean",
42
+ "description": "show only file names",
43
+ "default": false
44
+ },
45
+ "full": {
46
+ "type": "boolean",
47
+ "description": "show full patch with delta integration",
48
+ "default": false
49
+ },
50
+ "stat": {
51
+ "type": "boolean",
52
+ "description": "show diffstat (default behavior)",
53
+ "default": false
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/doctor.json",
4
+ "title": "gitwise doctor cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/health.json",
4
+ "title": "gitwise health cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/log.json",
4
+ "title": "gitwise log cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ },
35
+ "oneline": {
36
+ "type": "boolean",
37
+ "description": "one line per commit",
38
+ "default": false
39
+ },
40
+ "graph": {
41
+ "type": "boolean",
42
+ "description": "show branch topology graph",
43
+ "default": false
44
+ },
45
+ "author": {
46
+ "type": "string",
47
+ "description": "filter by author"
48
+ },
49
+ "grep": {
50
+ "type": "string",
51
+ "description": "filter by message pattern"
52
+ },
53
+ "since": {
54
+ "type": "string",
55
+ "description": "show commits since date"
56
+ },
57
+ "until": {
58
+ "type": "string",
59
+ "description": "show commits until date"
60
+ },
61
+ "file": {
62
+ "type": "string",
63
+ "description": "show commits for file"
64
+ },
65
+ "max_count": {
66
+ "type": "integer",
67
+ "description": "max commits",
68
+ "default": 20
69
+ }
70
+ }
71
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/merge.json",
4
+ "title": "gitwise merge cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ },
35
+ "branch": {
36
+ "type": "string",
37
+ "description": "branch to merge/rebase from"
38
+ },
39
+ "rebase": {
40
+ "type": "boolean",
41
+ "description": "rebase instead of merge",
42
+ "default": false
43
+ },
44
+ "no_ff": {
45
+ "type": "boolean",
46
+ "description": "force no-fast-forward",
47
+ "default": false
48
+ },
49
+ "dry_run": {
50
+ "type": "boolean",
51
+ "description": "show checks without merging",
52
+ "default": false
53
+ },
54
+ "yes": {
55
+ "type": "boolean",
56
+ "description": "skip confirmation",
57
+ "default": false
58
+ }
59
+ },
60
+ "required": [
61
+ "branch"
62
+ ]
63
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://gitwise.dev/schemas/v1/input/optimize.json",
4
+ "title": "gitwise optimize cli input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "lang": {
9
+ "type": "string",
10
+ "enum": [
11
+ "es",
12
+ "en"
13
+ ],
14
+ "description": "output language (default: auto-detect from locale)"
15
+ },
16
+ "theme": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dark",
20
+ "light",
21
+ "auto"
22
+ ],
23
+ "description": "color theme: dark, light, or auto-detect (default: auto)"
24
+ },
25
+ "json": {
26
+ "type": "boolean",
27
+ "description": "output JSON",
28
+ "default": false
29
+ },
30
+ "json_pretty": {
31
+ "type": "boolean",
32
+ "description": "pretty-print JSON output",
33
+ "default": false
34
+ },
35
+ "dry_run": {
36
+ "type": "boolean",
37
+ "default": false
38
+ },
39
+ "yes": {
40
+ "type": "boolean",
41
+ "default": false
42
+ }
43
+ }
44
+ }