hopper-cli 1.2.1__tar.gz → 1.3.0__tar.gz
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.
- {hopper_cli-1.2.1/hopper_cli.egg-info → hopper_cli-1.3.0}/PKG-INFO +15 -1
- {hopper_cli-1.2.1 → hopper_cli-1.3.0}/README.md +14 -0
- {hopper_cli-1.2.1 → hopper_cli-1.3.0/hopper_cli.egg-info}/PKG-INFO +15 -1
- {hopper_cli-1.2.1 → hopper_cli-1.3.0}/LICENSE +0 -0
- {hopper_cli-1.2.1 → hopper_cli-1.3.0}/hopper/__init__.py +0 -0
- {hopper_cli-1.2.1 → hopper_cli-1.3.0}/hopper/__main__.py +0 -0
- {hopper_cli-1.2.1 → hopper_cli-1.3.0}/hopper_cli.egg-info/SOURCES.txt +0 -0
- {hopper_cli-1.2.1 → hopper_cli-1.3.0}/hopper_cli.egg-info/dependency_links.txt +0 -0
- {hopper_cli-1.2.1 → hopper_cli-1.3.0}/hopper_cli.egg-info/entry_points.txt +0 -0
- {hopper_cli-1.2.1 → hopper_cli-1.3.0}/hopper_cli.egg-info/top_level.txt +0 -0
- {hopper_cli-1.2.1 → hopper_cli-1.3.0}/pyproject.toml +0 -0
- {hopper_cli-1.2.1 → hopper_cli-1.3.0}/setup.cfg +0 -0
- {hopper_cli-1.2.1 → hopper_cli-1.3.0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hopper-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0
|
|
4
4
|
Summary: A git-like CLI for tutors on the hopper platform.
|
|
5
5
|
Author: hopper contributors
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
@@ -232,3 +232,17 @@ The version is injected at build time via ldflags:
|
|
|
232
232
|
```
|
|
233
233
|
go build -ldflags "-X codeberg.org/hopper/cli/internal/cmd.Version=vX.Y.Z" -o hopper ./cmd/hopper/
|
|
234
234
|
```
|
|
235
|
+
|
|
236
|
+
### User-facing output
|
|
237
|
+
|
|
238
|
+
Use `internal/ui` for messages so commands share the same styling and spacing:
|
|
239
|
+
|
|
240
|
+
- `Success` marks completed actions; `Info` is for neutral progress and hints.
|
|
241
|
+
- `Warn` and `Error` write diagnostics to stderr. Keep recovery instructions in
|
|
242
|
+
the same message so they stay with the error when output is redirected.
|
|
243
|
+
- Message helpers terminate output with one newline and indent multiline
|
|
244
|
+
details beneath the message text.
|
|
245
|
+
- `Section` prints only a heading. Use `Break` once between output blocks,
|
|
246
|
+
never before the first heading or after the last message.
|
|
247
|
+
- Keep raw output such as the version line unstyled.
|
|
248
|
+
- Disable ANSI styling for redirected output, `NO_COLOR`, and `TERM=dumb`.
|
|
@@ -204,3 +204,17 @@ The version is injected at build time via ldflags:
|
|
|
204
204
|
```
|
|
205
205
|
go build -ldflags "-X codeberg.org/hopper/cli/internal/cmd.Version=vX.Y.Z" -o hopper ./cmd/hopper/
|
|
206
206
|
```
|
|
207
|
+
|
|
208
|
+
### User-facing output
|
|
209
|
+
|
|
210
|
+
Use `internal/ui` for messages so commands share the same styling and spacing:
|
|
211
|
+
|
|
212
|
+
- `Success` marks completed actions; `Info` is for neutral progress and hints.
|
|
213
|
+
- `Warn` and `Error` write diagnostics to stderr. Keep recovery instructions in
|
|
214
|
+
the same message so they stay with the error when output is redirected.
|
|
215
|
+
- Message helpers terminate output with one newline and indent multiline
|
|
216
|
+
details beneath the message text.
|
|
217
|
+
- `Section` prints only a heading. Use `Break` once between output blocks,
|
|
218
|
+
never before the first heading or after the last message.
|
|
219
|
+
- Keep raw output such as the version line unstyled.
|
|
220
|
+
- Disable ANSI styling for redirected output, `NO_COLOR`, and `TERM=dumb`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hopper-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0
|
|
4
4
|
Summary: A git-like CLI for tutors on the hopper platform.
|
|
5
5
|
Author: hopper contributors
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
@@ -232,3 +232,17 @@ The version is injected at build time via ldflags:
|
|
|
232
232
|
```
|
|
233
233
|
go build -ldflags "-X codeberg.org/hopper/cli/internal/cmd.Version=vX.Y.Z" -o hopper ./cmd/hopper/
|
|
234
234
|
```
|
|
235
|
+
|
|
236
|
+
### User-facing output
|
|
237
|
+
|
|
238
|
+
Use `internal/ui` for messages so commands share the same styling and spacing:
|
|
239
|
+
|
|
240
|
+
- `Success` marks completed actions; `Info` is for neutral progress and hints.
|
|
241
|
+
- `Warn` and `Error` write diagnostics to stderr. Keep recovery instructions in
|
|
242
|
+
the same message so they stay with the error when output is redirected.
|
|
243
|
+
- Message helpers terminate output with one newline and indent multiline
|
|
244
|
+
details beneath the message text.
|
|
245
|
+
- `Section` prints only a heading. Use `Break` once between output blocks,
|
|
246
|
+
never before the first heading or after the last message.
|
|
247
|
+
- Keep raw output such as the version line unstyled.
|
|
248
|
+
- Disable ANSI styling for redirected output, `NO_COLOR`, and `TERM=dumb`.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|