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

Question concerning creating a custom-named command line handler #38

Open
capsulecorplab opened this issue Jan 13, 2024 · 3 comments
Open

Comments

@capsulecorplab
Copy link
Contributor

I'd like to create a custom-named command line handler that I can run in the shell, s.a., the Eval command from How to use the ClapCommandLineHandler in Pharo. However, following the tutorial, am hitting a couple of "Message sent but not implemented" errors. I suspect this is because the tutorial is simply outdated and perhaps warrants the need for a new tutorial as per #22 - In the meantime, is there a "hot-fix" to resolve these errors?
Screenshot from 2023-12-30 23-31-49
Screenshot from 2023-12-30 23-37-23

@demarey
Copy link
Contributor

demarey commented Jan 18, 2024

Hi @capsulecorplab
You can get inspiration from Pharo Launcher command-line that uses Clap: https://github.com/pharo-project/pharo-launcher/tree/dev/src/PharoLauncher-CLI.
Clap has recent changes and documentation has not yet been updated.

@capsulecorplab
Copy link
Contributor Author

Thanks @demarey, I've actually been experimenting with the PharoLauncherCLI. Some of the features aren't fully implemented, but I'll see if I can make do with what works

@demarey
Copy link
Contributor

demarey commented Jan 19, 2024

@capsulecorplab with @Bajger, we are finalizing a first beta version. Most functionnalities are now working if you want to give another try. Pharo Launcher CLI is now in the main dev branch and is packaged in the standard launcher package (available in github actions artifacts) but they are not signed.

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

2 participants