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

Update bin/dwhich.dart? #3

Open
tsavo-at-pieces opened this issue Mar 11, 2024 · 2 comments
Open

Update bin/dwhich.dart? #3

tsavo-at-pieces opened this issue Mar 11, 2024 · 2 comments

Comments

@tsavo-at-pieces
Copy link

Hey there @bsutton -- getting into all of this.

Could you confirm that dwhich.dart needs to be updated?

It seems to be still using an old Args class from an earlier version of DCLI (3.x.x?)

It also seems that the new ExitException in DCLI 4.x found here:
https://github.com/onepub-dev/dcli/blob/master/dcli_sdk/lib/src/util/exit.dart
or here:
https://github.com/onepub-dev/dcli/blob/master/dcli_sdk/lib/src/util/exceptions.dart

And perhaps a related class here:
https://github.com/onepub-dev/dcli/blob/master/dcli_core/lib/src/util/dcli_exception.dart
and here:
https://github.com/onepub-dev/dcli/blob/master/dcli_core/lib/src/util/run_exception.dart

Let me know if this is relevant/related, happy to get this updated with a bit of direction!

Cheers,
-Tsavo

@bsutton
Copy link
Collaborator

bsutton commented Mar 13, 2024 via email

@tsavo-at-pieces
Copy link
Author

Just got it all updated with the 3.3.0 source code.

It seems that the dwhich.dart is one of the only files thats looking for a args.dart file at package path import 'package:dcli_scripts/src/dwhich/args.dart'; and a exit_exception.dart at package path import 'package:dcli_scripts/src/dwhich/exit_exception.dart';

I'm looking at it in this file specifically: packages/dcli_scripts/bin/dwhich.dart could it be accidentally .gitignored here?

Screenshot 2024-03-14 at 2 42 15 PM

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