You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**Outputs/streams**|`stdout` → human-readable table or metadata; `stderr` → diagnostics and error messages |
30
-
|**Exit codes**|`0` on success; non-zero for invalid CLI usage, file-not-found, parse errors, and internal failures (exact mapping TBD)|
31
-
|**Determinism**| Given the same file, CLI options, and environment, output is deterministic (no randomness; locale and encoding rules to be defined in Appendix A)|
29
+
|**Inputs**| CLI invocation `odsview [FILE] [options]`; `FILE` is optional in the current skeleton|
30
+
|**Outputs/streams**|`stdout` → help/usage text (currently); `stderr` → diagnostics and error messages (future work)|
31
+
|**Exit codes**|`0` on success (e.g. `--help` or no arguments); `2` for CLI usage errors such as attempting to view a file before viewing is implemented|
32
+
|**Determinism**| Given the same CLI arguments and environment, help/usage output is deterministic; data rendering determinism will be specified alongside the first real viewing implementation in Appendix A |
32
33
33
-
> Appendix A will refine these contracts once the first CLI behavior and
34
-
> tests are implemented.
34
+
As of this milestone, the CLI is **read-only and non-functional for
35
+
actual `.ods` viewing**; attempting to pass a file path results in a
36
+
usage error indicating that viewing is not implemented yet.
0 commit comments