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.
- gitwise/__init__.py +11 -0
- gitwise/__main__.py +113 -0
- gitwise/_cli_completions.py +88 -0
- gitwise/_cli_dispatch.py +469 -0
- gitwise/_cli_introspection.py +275 -0
- gitwise/_cli_parser.py +345 -0
- gitwise/_cli_setup_agents.py +439 -0
- gitwise/_i18n_data.json +1934 -0
- gitwise/_paths.py +22 -0
- gitwise/_runtime_config.py +246 -0
- gitwise/audit.py +338 -0
- gitwise/branches.py +183 -0
- gitwise/clean.py +197 -0
- gitwise/commit.py +142 -0
- gitwise/conflicts.py +112 -0
- gitwise/context.py +163 -0
- gitwise/design.py +383 -0
- gitwise/diff.py +309 -0
- gitwise/doctor.py +116 -0
- gitwise/git.py +254 -0
- gitwise/health.py +345 -0
- gitwise/i18n.py +99 -0
- gitwise/log.py +329 -0
- gitwise/merge.py +193 -0
- gitwise/optimize.py +212 -0
- gitwise/output.py +652 -0
- gitwise/pick.py +102 -0
- gitwise/pr.py +543 -0
- gitwise/py.typed +0 -0
- gitwise/schema.py +49 -0
- gitwise/setup.py +551 -0
- gitwise/setup_agents/__init__.py +36 -0
- gitwise/setup_agents/adapters/__init__.py +17 -0
- gitwise/setup_agents/adapters/aider.py +5 -0
- gitwise/setup_agents/adapters/base.py +5 -0
- gitwise/setup_agents/adapters/codex.py +5 -0
- gitwise/setup_agents/adapters/continue_adapter.py +5 -0
- gitwise/setup_agents/adapters/cursor.py +5 -0
- gitwise/setup_agents/adapters/opencode.py +5 -0
- gitwise/setup_agents/adapters/pi.py +5 -0
- gitwise/setup_agents/exec.py +449 -0
- gitwise/setup_agents/format.py +164 -0
- gitwise/setup_agents/plan.py +254 -0
- gitwise/setup_agents/plan_gitfiles.py +167 -0
- gitwise/setup_agents/plan_skills.py +256 -0
- gitwise/setup_agents/providers/__init__.py +96 -0
- gitwise/setup_agents/providers/aider.py +11 -0
- gitwise/setup_agents/providers/base.py +79 -0
- gitwise/setup_agents/providers/claude.py +408 -0
- gitwise/setup_agents/providers/codex.py +11 -0
- gitwise/setup_agents/providers/continue_adapter.py +11 -0
- gitwise/setup_agents/providers/cursor.py +11 -0
- gitwise/setup_agents/providers/opencode.py +11 -0
- gitwise/setup_agents/providers/pi.py +11 -0
- gitwise/setup_agents/state.py +141 -0
- gitwise/setup_agents/types.py +48 -0
- gitwise/share/agents/skills/git-audit/SKILL.md +25 -0
- gitwise/share/agents/skills/git-clean/SKILL.md +22 -0
- gitwise/share/agents/skills/git-optimize/SKILL.md +21 -0
- gitwise/share/aider/CONVENTIONS.md.template +8 -0
- gitwise/share/aider/aider.conf.yml.template +4 -0
- gitwise/share/claude/CLAUDE.md.template +9 -0
- gitwise/share/claude/rules/gitwise.md +16 -0
- gitwise/share/claude/settings.json.template +47 -0
- gitwise/share/claude/skills/git-audit/SKILL.md +25 -0
- gitwise/share/claude/skills/git-clean/SKILL.md +22 -0
- gitwise/share/claude/skills/git-optimize/SKILL.md +21 -0
- gitwise/share/codex/agents/gitwise.toml.template +18 -0
- gitwise/share/continue/rules/gitwise.md.template +14 -0
- gitwise/share/cursor/rules/gitwise.mdc.template +16 -0
- gitwise/share/git-config-modern.txt +48 -0
- gitwise/share/hooks/commit-msg +22 -0
- gitwise/share/hooks/pre-commit +19 -0
- gitwise/share/opencode/agents/gitwise.md.template +14 -0
- gitwise/share/pi/skills/gitwise.md.template +14 -0
- gitwise/share/schemas/v1/input/audit.json +40 -0
- gitwise/share/schemas/v1/input/branches.json +51 -0
- gitwise/share/schemas/v1/input/clean.json +52 -0
- gitwise/share/schemas/v1/input/commands.json +36 -0
- gitwise/share/schemas/v1/input/commit.json +63 -0
- gitwise/share/schemas/v1/input/completions.json +51 -0
- gitwise/share/schemas/v1/input/conflicts.json +46 -0
- gitwise/share/schemas/v1/input/context.json +36 -0
- gitwise/share/schemas/v1/input/diff.json +56 -0
- gitwise/share/schemas/v1/input/doctor.json +36 -0
- gitwise/share/schemas/v1/input/health.json +36 -0
- gitwise/share/schemas/v1/input/log.json +71 -0
- gitwise/share/schemas/v1/input/merge.json +63 -0
- gitwise/share/schemas/v1/input/optimize.json +44 -0
- gitwise/share/schemas/v1/input/pick.json +63 -0
- gitwise/share/schemas/v1/input/pr.json +51 -0
- gitwise/share/schemas/v1/input/schema.json +48 -0
- gitwise/share/schemas/v1/input/setup-agents.json +108 -0
- gitwise/share/schemas/v1/input/setup.json +55 -0
- gitwise/share/schemas/v1/input/show.json +46 -0
- gitwise/share/schemas/v1/input/snapshot.json +36 -0
- gitwise/share/schemas/v1/input/stash.json +68 -0
- gitwise/share/schemas/v1/input/status.json +36 -0
- gitwise/share/schemas/v1/input/suggest.json +36 -0
- gitwise/share/schemas/v1/input/summarize.json +44 -0
- gitwise/share/schemas/v1/input/sync.json +55 -0
- gitwise/share/schemas/v1/input/tag.json +73 -0
- gitwise/share/schemas/v1/input/undo.json +60 -0
- gitwise/share/schemas/v1/input/update.json +40 -0
- gitwise/share/schemas/v1/input/worktree.json +50 -0
- gitwise/show.py +118 -0
- gitwise/snapshot.py +110 -0
- gitwise/stash.py +188 -0
- gitwise/status.py +93 -0
- gitwise/suggest.py +148 -0
- gitwise/summarize.py +202 -0
- gitwise/sync.py +257 -0
- gitwise/tag.py +252 -0
- gitwise/undo.py +145 -0
- gitwise/update.py +42 -0
- gitwise/utils/__init__.py +1 -0
- gitwise/utils/git_output.py +51 -0
- gitwise/utils/json_envelope.py +58 -0
- gitwise/utils/parsing.py +34 -0
- gitwise/worktree.py +182 -0
- gitwise_cli-0.24.2.dist-info/METADATA +151 -0
- gitwise_cli-0.24.2.dist-info/RECORD +125 -0
- gitwise_cli-0.24.2.dist-info/WHEEL +4 -0
- gitwise_cli-0.24.2.dist-info/entry_points.txt +2 -0
- gitwise_cli-0.24.2.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://gitwise.dev/schemas/v1/input/pick.json",
|
|
4
|
+
"title": "gitwise pick 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
|
+
"refs": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"description": "commit refs to pick/revert"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"revert": {
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"description": "revert instead of cherry-pick",
|
|
45
|
+
"default": false
|
|
46
|
+
},
|
|
47
|
+
"continue_": {
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
"description": "continue after conflict",
|
|
50
|
+
"default": false
|
|
51
|
+
},
|
|
52
|
+
"abort": {
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"description": "abort in-progress pick/revert",
|
|
55
|
+
"default": false
|
|
56
|
+
},
|
|
57
|
+
"dry_run": {
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"description": "show without executing",
|
|
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/pr.json",
|
|
4
|
+
"title": "gitwise pr 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
|
+
"action": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"enum": [
|
|
38
|
+
"list",
|
|
39
|
+
"checks",
|
|
40
|
+
"view",
|
|
41
|
+
"comments"
|
|
42
|
+
],
|
|
43
|
+
"description": "pr action",
|
|
44
|
+
"default": "list"
|
|
45
|
+
},
|
|
46
|
+
"selector": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "PR number/url/branch (default: current branch PR)"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://gitwise.dev/schemas/v1/input/schema.json",
|
|
4
|
+
"title": "gitwise schema 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
|
+
"name": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "command name to inspect"
|
|
38
|
+
},
|
|
39
|
+
"version": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "schema catalog version (default: v1)",
|
|
42
|
+
"default": "v1"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"name"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://gitwise.dev/schemas/v1/input/setup-agents.json",
|
|
4
|
+
"title": "gitwise setup-agents 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
|
+
"local": {
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"description": "install into current repo instead of global home",
|
|
38
|
+
"default": false
|
|
39
|
+
},
|
|
40
|
+
"no_skills": {
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"description": "skip skills installation (global mode only)",
|
|
43
|
+
"default": false
|
|
44
|
+
},
|
|
45
|
+
"dry_run": {
|
|
46
|
+
"type": "boolean",
|
|
47
|
+
"description": "show actions without executing",
|
|
48
|
+
"default": false
|
|
49
|
+
},
|
|
50
|
+
"yes": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "skip confirmation",
|
|
53
|
+
"default": false
|
|
54
|
+
},
|
|
55
|
+
"no_symlinks": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"description": "force @AGENTS.md import fallback (no symlinks) \u2014 --local only",
|
|
58
|
+
"default": false
|
|
59
|
+
},
|
|
60
|
+
"strict": {
|
|
61
|
+
"type": "boolean",
|
|
62
|
+
"description": "treat warnings as errors (CI) \u2014 --local only",
|
|
63
|
+
"default": false
|
|
64
|
+
},
|
|
65
|
+
"replace_claude_with_symlink": {
|
|
66
|
+
"type": "boolean",
|
|
67
|
+
"description": "bucket 4: replace CLAUDE.md with symlink to AGENTS.md \u2014 --local only",
|
|
68
|
+
"default": false
|
|
69
|
+
},
|
|
70
|
+
"migrate_legacy_claude": {
|
|
71
|
+
"type": "boolean",
|
|
72
|
+
"description": "migrate legacy Claude-only layout to canonical AGENTS/.agents \u2014 --local only",
|
|
73
|
+
"default": false
|
|
74
|
+
},
|
|
75
|
+
"frozen_time": {
|
|
76
|
+
"type": "boolean",
|
|
77
|
+
"description": "freeze snapshot timestamp \u2014 --local only",
|
|
78
|
+
"default": false
|
|
79
|
+
},
|
|
80
|
+
"no_git_files": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"description": "don't touch .gitignore or .gitattributes \u2014 --local only",
|
|
83
|
+
"default": false
|
|
84
|
+
},
|
|
85
|
+
"providers": {
|
|
86
|
+
"type": "array",
|
|
87
|
+
"items": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "install config for coding providers (comma-separated: claude,cursor or multiple: --providers claude cursor)"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"adapters": {
|
|
93
|
+
"type": "array",
|
|
94
|
+
"items": {
|
|
95
|
+
"type": "string"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"list_providers": {
|
|
99
|
+
"type": "boolean",
|
|
100
|
+
"description": "list available providers and exit",
|
|
101
|
+
"default": false
|
|
102
|
+
},
|
|
103
|
+
"list_adapters": {
|
|
104
|
+
"type": "boolean",
|
|
105
|
+
"default": false
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://gitwise.dev/schemas/v1/input/setup.json",
|
|
4
|
+
"title": "gitwise setup 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
|
+
"hooks_mode": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"enum": [
|
|
46
|
+
"preserve",
|
|
47
|
+
"native",
|
|
48
|
+
"legacy",
|
|
49
|
+
"skip"
|
|
50
|
+
],
|
|
51
|
+
"description": "hooks strategy: preserve (default), native, legacy, or skip",
|
|
52
|
+
"default": "preserve"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://gitwise.dev/schemas/v1/input/show.json",
|
|
4
|
+
"title": "gitwise show 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
|
+
"ref": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "commit ref (default: HEAD)",
|
|
38
|
+
"default": "HEAD"
|
|
39
|
+
},
|
|
40
|
+
"stat": {
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"description": "show diffstat",
|
|
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/snapshot.json",
|
|
4
|
+
"title": "gitwise snapshot 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,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://gitwise.dev/schemas/v1/input/stash.json",
|
|
4
|
+
"title": "gitwise stash 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
|
+
"action": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"enum": [
|
|
38
|
+
"list",
|
|
39
|
+
"show",
|
|
40
|
+
"pop",
|
|
41
|
+
"drop",
|
|
42
|
+
"clear",
|
|
43
|
+
"clean"
|
|
44
|
+
],
|
|
45
|
+
"default": "list"
|
|
46
|
+
},
|
|
47
|
+
"index": {
|
|
48
|
+
"type": "integer",
|
|
49
|
+
"description": "stash index (default: 0)",
|
|
50
|
+
"default": 0
|
|
51
|
+
},
|
|
52
|
+
"dry_run": {
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"description": "dry run (clear only)",
|
|
55
|
+
"default": false
|
|
56
|
+
},
|
|
57
|
+
"yes": {
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"description": "skip confirmation",
|
|
60
|
+
"default": false
|
|
61
|
+
},
|
|
62
|
+
"patch": {
|
|
63
|
+
"type": "boolean",
|
|
64
|
+
"description": "show full patch (show only)",
|
|
65
|
+
"default": false
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://gitwise.dev/schemas/v1/input/status.json",
|
|
4
|
+
"title": "gitwise status 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/suggest.json",
|
|
4
|
+
"title": "gitwise suggest 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,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://gitwise.dev/schemas/v1/input/summarize.json",
|
|
4
|
+
"title": "gitwise summarize 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
|
+
"diff": {
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false
|
|
38
|
+
},
|
|
39
|
+
"max_commits": {
|
|
40
|
+
"type": "integer",
|
|
41
|
+
"default": 10
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://gitwise.dev/schemas/v1/input/sync.json",
|
|
4
|
+
"title": "gitwise sync 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
|
+
"pull": {
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"description": "pull --ff-only after fetch",
|
|
38
|
+
"default": false
|
|
39
|
+
},
|
|
40
|
+
"push": {
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"description": "push unpushed commits",
|
|
43
|
+
"default": false
|
|
44
|
+
},
|
|
45
|
+
"remote": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"description": "specific remote (default: all)"
|
|
48
|
+
},
|
|
49
|
+
"dry_run": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"description": "show planned actions",
|
|
52
|
+
"default": false
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|