Changed around line 226: class AutoGifCLI extends SimpleCLI {
- const cli = new AutoGifCLI()
- cli.executeUsersInstructionsFromShell()
+ if (import.meta.url === `file://${process.argv[1]}`) {
+ const cli = new AutoGifCLI()
+ cli.executeUsersInstructionsFromShell()
+ }