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

verify all chectl commands work after migration to oclif #22635

Closed
nickboldt opened this issue Oct 27, 2023 · 1 comment
Closed

verify all chectl commands work after migration to oclif #22635

nickboldt opened this issue Oct 27, 2023 · 1 comment
Assignees
Labels
area/chectl Issues related to chectl, the CLI of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.

Comments

@nickboldt
Copy link
Contributor

nickboldt commented Oct 27, 2023

Describe the bug

Some commands after moving to oclif no longer work.

For example:

$➔ chectl
Error: command . not found
    at Config.runCommand (/home/nboldt/.local/share/chectl/client/0.0.20231019-next.59da0a4/node_modules/@oclif/core/lib/config/config.js:499:19)
    at async run (/home/nboldt/.local/share/chectl/client/0.0.20231019-next.59da0a4/node_modules/@oclif/core/lib/main.js:90:16)
    at async /home/nboldt/.local/share/chectl/client/0.0.20231019-next.59da0a4/bin/run:6:3

$➔ dsc 
Error: command . not found
    at Config.runCommand (/home/nboldt/dsc/node_modules/@oclif/core/lib/config/config.js:499:19)
    at async run (/home/nboldt/dsc/node_modules/@oclif/core/lib/main.js:90:16)
    at async /home/nboldt/dsc/bin/run:6:3

Che version

next (development version)

@nickboldt nickboldt added the kind/bug Outline of a bug - must adhere to the bug report template. label Oct 27, 2023
@nickboldt nickboldt changed the title verify all commands work in chectl after migration to oclif verify all chectl commands work after migration to oclif Oct 27, 2023
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Oct 27, 2023
@amisevsk amisevsk added severity/P1 Has a major impact to usage or development of the system. area/chectl Issues related to chectl, the CLI of Che and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Oct 27, 2023
@tolusha
Copy link
Contributor

tolusha commented Dec 5, 2023

It seems chectl autoupdate is broken.

-> % chectl server:update
A more recent version of chectl is available. To deploy the latest version of Eclipse Che, update the chectl tool first.
Do you want to update chectl now? [y/n]: y
cli-ux: Updating CLI...
tolusha@bitbucket-bitbucket [01:43:49 PM] [~/projects/che-incubator/git-srv/bitbucket] [main *]
-> % chectl server:update
A more recent version of chectl is available. To deploy the latest version of Eclipse Che, update the chectl tool first.
Do you want to update chectl now? [y/n]: n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chectl Issues related to chectl, the CLI of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

4 participants