Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better output for toolkit CLI difference #1360

Open
me-diru opened this issue Aug 1, 2024 · 0 comments
Open

Better output for toolkit CLI difference #1360

me-diru opened this issue Aug 1, 2024 · 0 comments

Comments

@me-diru
Copy link
Contributor

me-diru commented Aug 1, 2024

The changes observed between the two versions of spin CLI are shown using CLI output script.

It seems tedious to figure out under which subcommand the flags belong, and I had to do a bit of trial-and-error. Maybe a better output, along with the subcommand where the flags were changed, might be helpful.

For reference #1358

From

< Output: spin 2.6.0 (a4ddd39 2024-06-20)
---
> Output: spin 2.7.0 (a111517 2024-07-30)
47a48,50
>         --allow-overwrite              If the output directory already contains files, generate the
>                                        new files into it without confirming, overwriting any
>                                        existing files with the same names
890a894,896
>         --allow-overwrite              If the output directory already contains files, generate the
>                                        new files into it without confirming, overwriting any
>                                        existing files with the same names
974a981
>         --all                List all versions of plugins. This is the default behaviour
977a985
>         --summary            List latest and installed versions of plugins
1273,1274c1281,1283
<                                    a directory containing a spin.toml file, or a remote registry
<                                    reference. If omitted, it defaults to "spin.toml"
---
>                                    a directory containing a spin.toml file, a remote registry
>                                    reference, or a Wasm module (a .wasm file). If omitted, it
>                                    defaults to "spin.toml"

To

< Output: spin 2.6.0 (a4ddd39 2024-06-20)
---
> Output: spin 2.7.0 (a111517 2024-07-30)
47a48,50
>         spin add --allow-overwrite              If the output directory already contains files, generate the
>                                        new files into it without confirming, overwriting any
>                                        existing files with the same names
890a894,896
>         spin new --allow-overwrite              If the output directory already contains files, generate the
>                                        new files into it without confirming, overwriting any
>                                        existing files with the same names
974a981
>         spin plugins list --all                List all versions of plugins. This is the default behaviour
977a985
>         spin plugins list --summary            List latest and installed versions of plugins
1273,1274c1281,1283
<                                    a directory containing a spin.toml file, or a remote registry
<                                    reference. If omitted, it defaults to "spin.toml"
---
>                                    a directory containing a spin.toml file, a remote registry
>                                    reference, or a Wasm module (a .wasm file). If omitted, it
>                                    defaults to "spin.toml"
@me-diru me-diru changed the title Better output for toolkit CLI output Better output for toolkit CLI difference Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant